A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attempt to avoid ugly sed in privatize-libs. May break.
[simgrid.git]
/
README.coding
diff --git
a/README.coding
b/README.coding
index
44414b9
..
7417d89
100644
(file)
--- a/
README.coding
+++ b/
README.coding
@@
-35,11
+35,11
@@
SimGrid4 will follow the these rules:
- Example: src/kernel/activity/Activity.cpp
include/simgrid/activity/Activity.hpp
C
- 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
()
+ - Field getters are named sg_object_
get_field() e.g. sg_link_get
_name()
+ Field setters are named sg_object_
set_field() e.g. sg_link_set_data
()
- variables and functions are in snake_case()
- variables and functions are in snake_case()
- - typedefs do not hide the pointers, i
e
* must be explicit
- char
* sg_host_get_name(sg_host_t
* host);
+ - typedefs do not hide the pointers, i
.e.
* must be explicit
+ char
* sg_host_get_name(sg_host_t
* host);
This is different from the old convention (described below), that
This is different from the old convention (described below), that