aboutsummaryrefslogtreecommitdiff
path: root/STYLE
diff options
context:
space:
mode:
authorantirez <antirez>2005-03-01 23:49:04 +0000
committerantirez <antirez>2005-03-01 23:49:04 +0000
commit3e101ed7a9781fd9b39588de8bd150af543284d8 (patch)
tree28f29cdc4221f9265a742244c2a26c3e45a5a47f /STYLE
parentd56ce454b86293487b02c3a65f939300e2667af7 (diff)
downloadjimtcl-3e101ed7a9781fd9b39588de8bd150af543284d8.zip
jimtcl-3e101ed7a9781fd9b39588de8bd150af543284d8.tar.gz
jimtcl-3e101ed7a9781fd9b39588de8bd150af543284d8.tar.bz2
A lot of changes to functions names of jim.c/h to reflect
the STYLE file rules. More functions exported to the visible API.
Diffstat (limited to 'STYLE')
-rw-r--r--STYLE13
1 files changed, 11 insertions, 2 deletions
diff --git a/STYLE b/STYLE
index 75f7ba2..6dc8063 100644
--- a/STYLE
+++ b/STYLE
@@ -20,11 +20,20 @@ Jim_ExportedFunctionName()
The prefix is "Jim_", every word composing the function name
is capitalized.
-Non exported functions are also capitalized, but in such
-a case the prefix is just "Jim", like in
+Not exported functions that are of general interest for the Jim
+core, like JimFreeInterp() are capitalized the same way, but the
+prefix used for this functions is "Jim" instead of "Jim_".
+Another example is:
JimNotExportedFunction()
+Not exported functions that are not general, like functions
+implementing hashtables or jim objects methods can be named
+in any prefix as long as capitalization rules are followed,
+like in:
+
+ListSetIndex()
+
---------------
VARIABLES NAMES
---------------