X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c882e24932c718fad85c22cb546f30e158f1b31d..ba82f10f3e6c03bbe3002b38e59ae34a71574359:/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