X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=doc%2Fdevel-notes.txt;h=f6455f6ded95180a88210d725b2283ed74356547;hp=7d238d15c12c22df4c79eb97c9e6fcb887e7257e;hb=fa2fd1900f206da4bb975b5ece50ee29f5bd8a75;hpb=c598d6a40f47fba9400589a84ae5573d1a9f74ef diff --git a/doc/devel-notes.txt b/doc/devel-notes.txt index 7d238d1..f6455f6 100644 --- a/doc/devel-notes.txt +++ b/doc/devel-notes.txt @@ -78,8 +78,11 @@ the GNU gettext library's developpers. Style Guide ----------- -- global functions should have the prefix "mutt_". All - other functions should be declared "static". +- global functions outside the library directory should have the prefix + "mutt_". All other functions should be declared "static". All global + functions defined within the library directory should have the the + prefix according to their source file, i.e. "str_" for everything in + lib/str.[ch] etc. - avoid global vars where possible. If one is required, try to contain it to a single source file and declare it @@ -92,13 +95,11 @@ Style Guide in ELM and PINE is the tremendous duplication of code... Help keep Mutt small! -- when adding new options, make the old behaviour the - default. +- When adding new options, make the old behaviour the default. Also, + add them to UPGRADING in the top-level source directory. - try to keep Mutt-ng as portable as possible. -- do not use C++-style comments (i.e. "// Comment") - Documentation -------------