CODING 629 B

123456789101112131415161718192021222324
  1. Naming Conventions
  2. ------------------
  3. * Prefix names of public objects (types, functions, etc.) with "starpu"
  4. * Prefix names of internal objects (types, functions, etc.) with "_starpu"
  5. * Names for qualified types (struct, union, enum) do not end with _t, _s or similar.
  6. Use _t only for typedef types, such as opaque public types, e.g
  7. typedef struct _starpu_data_state* starpu_data_handle_t;
  8. or
  9. typedef uint64_t starpu_tag_t;
  10. * When a variable can only take a finite set of values, use an enum
  11. type instead of defining macros for each of the values.
  12. Style
  13. -----
  14. * curly braces always go on a new line