Scale Stack 0.3 Developer Documentation

scalestack/kernel/macros.h File Reference

Kernel Macro Definitions. More...

Go to the source code of this file.

Defines

#define SCALESTACK_API
#define SCALESTACK_INTERNAL_API
#define SCALESTACK_API_DEPRECATED
#define SCALESTACK_LOCAL
#define SCALESTACK_CURRENT_API_VERSION   2
#define SCALESTACK_QUOTE(string)   #string
#define SCALESTACK_QUOTE_VALUE(string)   SCALESTACK_QUOTE(string)
#define SCALESTACK_MAX_MESSAGE_SIZE   1024
#define _(string)   string

Detailed Description

Kernel Macro Definitions.

Definition in file macros.h.


Define Documentation

#define SCALESTACK_API

Be sure to put SCALESTACK_API in front of all public API symbols, or one of the other macros as appropriate. The default visibility without a macro is to be hidden (SCALESTACK_LOCAL).

Definition at line 57 of file macros.h.

#define SCALESTACK_INTERNAL_API

Definition at line 58 of file macros.h.

#define SCALESTACK_API_DEPRECATED

Definition at line 59 of file macros.h.

#define SCALESTACK_LOCAL

Definition at line 60 of file macros.h.

#define SCALESTACK_CURRENT_API_VERSION   2

Macro that defines the current API version to use for interfaces.

Definition at line 67 of file macros.h.

#define SCALESTACK_QUOTE ( string   )     #string

Macros used for converting defined values into quoted strings.

Definition at line 72 of file macros.h.

#define SCALESTACK_QUOTE_VALUE ( string   )     SCALESTACK_QUOTE(string)

Definition at line 73 of file macros.h.

#define SCALESTACK_MAX_MESSAGE_SIZE   1024

Max size of message for errors, exceptions, and logs. We use a static sized buffer and not a std::string to be sure no exceptions are generated.

Definition at line 79 of file macros.h.

#define _ ( string   )     string

Macro to use around strings that should be translated in preparation for using gettext.

Definition at line 85 of file macros.h.

Generated on Thu Feb 17 13:10:21 2011 by  doxygen 1.6.3