Move definition to header file

pull/10/head
Rafal Kupiec 5 years ago
parent 5908307885
commit 641fa9e960
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

@ -1,8 +1,5 @@
#include "dummy.h"
#define MODULE_DESC "Dummy module"
#define MODULE_VER 1.0
int psharp_dummy_function(ph7_context *pCtx, int nArg, ph7_value **apArg) {
SyString dummy;
const char *text = "Hello world from dummy module!";

@ -4,6 +4,9 @@
#include "ph7.h"
#include "ph7int.h"
#define MODULE_DESC "Dummy module"
#define MODULE_VER 1.0
/* Forward reference & declaration */
PH7_PRIVATE sxi32 initializeModule(ph7_vm *pVm, ph7_real *ver, SyString *desc);

Loading…
Cancel
Save