Identifiers -- /Project | cern archive | HTTP only
home archive home about

Identifiers

When chosing identifier names,
  • Macros should be un upper case entirely unless they mimic and replace a genuine function.
  • External names should be prefixed with HT to avoid confusion with other projects' code. Wthin the rest of the identifier, we use initial capitals a la Objective-C (e.g. HTSendBuffer).
  • The macro SHORT_NAMES is defined on systems in which external names must be unique to within 8 characters (case insesitive). If your names would clash, at the top of the .h file for a module you should include macros defining distinct short names:
#ifdef SHORT_NAMES #define HTSendBufferHeader HTSeBuHe #define HTSendBuffer HTSeBuff #endif

  (back to Overview)
  

___________________________________________________________

Tim BL