[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C Programming Conventions

Naming conventions

The general rule is that all type and function names defined by the library are prefixed with ap_, in order to prevent name conflicts with other libraries. Moreover, functions operating on objects of type ap_typ_t are usually prefixed with ap_typ_op.

Memory management

Given an object of datatype typ_t*, two kinds of allocation/deallocation pairs of functions may be defined:



This document was generated on December, 22 2006 using texi2html