Add system module with System class, core native exception helper and remove useless builtins
Build / AerScript (push) Successful in 50s
Build / AerScript (push) Successful in 50s
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* @PROJECT AerScript Interpreter
|
||||
* @COPYRIGHT See COPYING in the top level directory
|
||||
* @FILE modules/system/system.h
|
||||
* @DESCRIPTION System class module for AerScript Interpreter
|
||||
* @DEVELOPERS Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
#ifndef __SYSTEM_H__
|
||||
#define __SYSTEM_H__
|
||||
|
||||
#include "ph7.h"
|
||||
#include "ph7int.h"
|
||||
|
||||
#define MODULE_DESC "System Module"
|
||||
#define MODULE_VER 1.0
|
||||
|
||||
/* SystemException error codes, also published as System class constants. */
|
||||
#define SYS_ERROR_NONE 0
|
||||
#define SYS_ERROR_ARGUMENT 1
|
||||
#define SYS_ERROR_IO 2
|
||||
|
||||
PH7_PRIVATE sxi32 initializeModule(ph7_vm *pVm, ph7_real *ver, SyString *desc);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user