Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this file does not exists: it breaks make dist
[simgrid.git] / README.coding
index 22b9aeaec5041214caee1b5434a899e70ee91347..803cfbf43587f7f53faaeeac8236045a522de0ae 100644 (file)
@@ -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