diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-12 04:28:58 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-12 04:28:58 +0000 |
commit | 5d9ed5739aab2b302efc178d21e6c75672369db3 (patch) | |
tree | 5c4270c1ac3d265b96361d98722a75b947f2f8c6 /doc/CODING-GUIDELINES | |
parent | 9f87dd693e9e74816b913a157fdcdefa3d7a2e56 (diff) |
major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/CODING-GUIDELINES')
-rw-r--r-- | doc/CODING-GUIDELINES | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES index e64bbd345..c8afc704e 100644 --- a/doc/CODING-GUIDELINES +++ b/doc/CODING-GUIDELINES @@ -77,7 +77,7 @@ $ cvs diff -urN <mycodefile>.c Roughly, Asterisk code formatting guidelines are generally equivalent to the following: -# indent -i4 -ts4 -br -brs -cdw -cli0 -ce -nbfda -npcs -nprs -npsl -saf -sai -saw foo.c +# indent -i4 -ts4 -br -brs -cdw -lp -ce -nbfda -npcs -nprs -npsl -nbbo -saf -sai -saw -cs -ln90 foo.c this means in verbose: -i4: indent level 4 @@ -85,7 +85,7 @@ this means in verbose: -br: braces on if line -brs: braces on struct decl line -cdw: cuddle do while - -cli0: case indentation 0 + -lp: line up continuation below parenthesis -ce: cuddle else -nbfda: dont break function decl args -npcs: no space after function call names @@ -94,6 +94,8 @@ this means in verbose: -saf: space after for -sai: space after if -saw: space after while + -cs: space after cast + -ln90: line length 90 columns Function calls and arguments should be spaced in a consistent way across the codebase. |