linking
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#define PRINT_STATIC
|
||||
#include "Print.h"
|
||||
|
||||
Print::Print(void* h, Archimedes::App* a) : Archimedes::Module(h, a) {
|
||||
|
||||
@@ -10,8 +10,12 @@ class Print : public Archimedes::Module {
|
||||
|
||||
};
|
||||
|
||||
#ifndef PRINT_STATIC
|
||||
|
||||
extern "C" {
|
||||
Archimedes::Module* create(void* handle, Archimedes::App* app) {
|
||||
return new Print(handle, app);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user