Move definition to header file

Este commit está contenido en:
2018-07-19 07:40:39 +02:00
padre 5908307885
commit 641fa9e960
Se han modificado 2 ficheros con 3 adiciones y 3 borrados

Ver fichero

@@ -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!";

Ver fichero

@@ -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);