CodingGuidelines: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
*[[MIT approach to design and implementation]]
*[[MIT approach to design and implementation]]
*[[How to do a release]]
*[[How to do a release]]
[[Category:Developers stuff]]

Latest revision as of 22:01, 6 February 2008

  • autoconf
    • All macros names should contain the XIPH_ prefix, and otherwise follow the autoconf naming conventions where applicable
    • m4 files defining internal macros (that is, those which won't be installed on user's machines) should be prefixed with xiph_ (eg xiph_compiler.m4)
    • macros should prefix shell variables local to themselves with xt_ (eg xt_save_CFLAGS) to avoid namespace pollution. Shell variables exported by a macro should be capitalised (eg SHOUT_LIBS)

See also