[DEV] build and execute again
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <rabbit/rabbit.hpp>
|
||||
#include <rabbit-std/sqstdaux.hpp>
|
||||
#include <assert.h>
|
||||
#include <rabbit/StackInfos.hpp>
|
||||
|
||||
void sqstd_printcallstack(rabbit::VirtualMachine* v)
|
||||
{
|
||||
|
||||
@@ -136,7 +136,7 @@ static int64_t _file_constructor(rabbit::VirtualMachine* v)
|
||||
bool owns = true;
|
||||
SQFile *f;
|
||||
SQFILE newf;
|
||||
if(sq_gettype(v,2) == rabbit::OT_STRING && sq_gettype(v,3) == OT_STRING) {
|
||||
if(sq_gettype(v,2) == rabbit::OT_STRING && sq_gettype(v,3) == rabbit::OT_STRING) {
|
||||
sq_getstring(v, 2, &filename);
|
||||
sq_getstring(v, 3, &mode);
|
||||
newf = sqstd_fopen(filename, mode);
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <rabbit/rabbit.hpp>
|
||||
#include <rabbit/RegFunction.hpp>
|
||||
|
||||
RABBIT_API rabbit::Result sqstd_register_mathlib(rabbit::VirtualMachine* v);
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <rabbit/RegFunction.hpp>
|
||||
|
||||
int64_t _stream_readblob(rabbit::VirtualMachine* v);
|
||||
int64_t _stream_readline(rabbit::VirtualMachine* v);
|
||||
int64_t _stream_readn(rabbit::VirtualMachine* v);
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <rabbit/RegFunction.hpp>
|
||||
|
||||
typedef unsigned int SQRexBool;
|
||||
typedef struct SQRex SQRex;
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#define screname rename
|
||||
#endif
|
||||
|
||||
#include <rabbit/RegFunction.hpp>
|
||||
|
||||
static int64_t _system_getenv(rabbit::VirtualMachine* v)
|
||||
{
|
||||
const rabbit::Char *s;
|
||||
|
||||
Reference in New Issue
Block a user