Reorganize the repository for new build system
This commit is contained in:
20
modules/dummy/dummy.h
Normal file
20
modules/dummy/dummy.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __DUMMY_H__
|
||||
#define __DUMMY_H__
|
||||
|
||||
#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);
|
||||
|
||||
/* Functions provided by DUMMY module */
|
||||
int psharp_dummy_function(ph7_context *pCtx, int nArg, ph7_value **apArg);
|
||||
|
||||
static const ph7_builtin_func dummyFuncList[] = {
|
||||
{"dummy_function", psharp_dummy_function },
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user