diff options
author | antirez <antirez> | 2005-03-31 12:20:21 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-03-31 12:20:21 +0000 |
commit | 6b53d12f84d9a2f2efa810038ce4a7c2146de928 (patch) | |
tree | 48d07e7d070b9c8f598ac932b98950ca3a65f088 /STYLE | |
parent | 15dc45ec7c7c6f9e31300b6c025f46d8adec16d8 (diff) | |
download | jimtcl-6b53d12f84d9a2f2efa810038ce4a7c2146de928.zip jimtcl-6b53d12f84d9a2f2efa810038ce4a7c2146de928.tar.gz jimtcl-6b53d12f84d9a2f2efa810038ce4a7c2146de928.tar.bz2 |
Implemented the C API "background" for the packages system of Jim.
Diffstat (limited to 'STYLE')
-rw-r--r-- | STYLE | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -28,7 +28,7 @@ Another example is: JimNotExportedFunction() Not exported functions that are not general, like functions -implementing hashtables or jim objects methods can be named +implementing hashtables or Jim objects methods can be named in any prefix as long as capitalization rules are followed, like in: @@ -47,10 +47,19 @@ lowcase: thisIsALogVarName +---- +GOTO +---- + +Goto is allowed every time it makes the code cleaner, like in complex +functions that need to handle exceptions, there is often an "err" label +at the end of the function where allocated resources are freed before to exit +with an error. Goto is also used in order to excape multiple nexted loops. + ---------- C FEATURES ---------- Only C89 ANSI C is allowed. C99 features can't be used currently. - +GCC extensions are not allowed. |