X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e3f29793efb84e328898065ee0c2491cf3bd3a7..843ecd34daee4c7181642ff058cdcb448c34c05b:/README.coding diff --git a/README.coding b/README.coding index 22b9aeaec5..803cfbf435 100644 --- a/README.coding +++ b/README.coding @@ -93,7 +93,12 @@ SIZE_T (FIXME: obsolete?) PRINTF pointer difference (FIXME: advertise %td instead?) printf ("diff = %ld\n", (long) (pointer2 - pointer1)); - + +INLINE functions + The definition of a inline function must be visible when it is used. + As such, an inline function should be defined (an not only declared) + in header file (.h) with attributes 'static XBT_INLINE'. It should + not be defined in source file (.c). ** ** Commenting the source: doxygen