X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..869e112fd4bb47fc88e5eae3357dce84bbf7dcbb:/README.coding diff --git a/README.coding b/README.coding index 6b3d048dde..44414b90f2 100644 --- a/README.coding +++ b/README.coding @@ -35,6 +35,8 @@ SimGrid4 will follow the these rules: - Example: src/kernel/activity/Activity.cpp include/simgrid/activity/Activity.hpp C + - Field getters are named sg_object_field() eg sg_link_name() + Field setters are named sg_object_field_set() eg sg_link_data_set() - variables and functions are in snake_case() - typedefs do not hide the pointers, ie * must be explicit char * sg_host_get_name(sg_host_t * host);