SPModel: VMake/Plugin-meta-template.c File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Plugin-meta-template.c File Reference

Go to the source code of this file.

Defines

#define Plugin_Stringify(str)   #str
#define Plugin_Metadata_Create(name)   Plugin_Metadata_Create_Macro( name )
#define Plugin_Metadata_Create_Macro(name)


Define Documentation

#define Plugin_Metadata_Create name   )     Plugin_Metadata_Create_Macro( name )
 

Definition at line 34 of file Plugin-meta-template.c.

#define Plugin_Metadata_Create_Macro name   ) 
 

Value:

const char* name ##_Meta = XML_METADATA; \
    const char* name ##_Name = #name; \
    const char* name ##_Version = VERSION; \
    const char* name ##_GetMetadata() { \
        return name ##_Meta; \
    } \
    const char* name ##_GetName() { \
        return name ##_Name; \
    } \
    const char* name ##_GetVersion() { \
        return name ##_Version; \
    }

Definition at line 35 of file Plugin-meta-template.c.

#define Plugin_Stringify str   )     #str
 

Definition at line 31 of file Plugin-meta-template.c.