Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Platform Definitions
[Apache Portability Runtime library]


Defines

#define APR_THREAD_FUNC
#define APR_DECLARE(type)   type
#define APR_DECLARE_NONSTD(type)   type
#define APR_DECLARE_DATA

Define Documentation

#define APR_DECLARE type       type
 

APR_DECLARE(rettype) apr_func(args)

See also:
APR_DECLARE_NONSTD , APR_DECLARE_DATA
Remarks:
Note that when APR compiles the library itself, it passes the symbol -DAPR_DECLARE_EXPORT to the compiler on some platforms (e.g. Win32) to export public symbols from the dynamic library build.
The user must define the APR_DECLARE_STATIC when compiling to target the static APR library on some platforms (e.g. Win32.) The public symbols are neither exported nor imported when APR_DECLARE_STATIC is defined.
By default, compiling an application and including the APR public headers, without defining APR_DECLARE_STATIC, will prepare the code to be linked to the dynamic library.

#define APR_DECLARE_DATA
 

extern APR_DECLARE_DATA type apr_variable;
APR_DECLARE_DATA type apr_variable = value;

#define APR_DECLARE_NONSTD type       type
 

APR_DECLARE_NONSTD(rettype) apr_func(args, ...);

#define APR_THREAD_FUNC
 

void* APR_THREAD_FUNC my_thread_entry_fn(apr_thread_t *thd, void *data);


Generated on Thu Feb 26 22:53:26 2004 for Apache Portable Runtime by doxygen1.2.18