OpenASIP  2.0
Macros
CodeCompressor.hh File Reference
#include "CodeCompressorPlugin.hh"
Include dependency graph for CodeCompressor.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXPORT_CODE_COMPRESSOR(PLUGIN_NAME__)
 

Detailed Description

Macro definitions for defining code compressor plugins for program image generator.

Author
Lasse Laasonen 2005 (lasse.laasonen-no.spam-tut.fi)
Note
rating: red

Definition in file CodeCompressor.hh.

Macro Definition Documentation

◆ EXPORT_CODE_COMPRESSOR

#define EXPORT_CODE_COMPRESSOR (   PLUGIN_NAME__)
Value:
extern "C" { \
CodeCompressorPlugin* create_code_compressor() {\
return new PLUGIN_NAME__(); \
}\
void delete_code_compressor(\
delete target;\
}\
}

Exports the given class as a code compressor plugin.

Definition at line 42 of file CodeCompressor.hh.

CodeCompressorPlugin
Definition: CodeCompressorPlugin.hh:84