First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
committed by Andreas Schaafsma
commit 6e1a5f9fe5
18475 changed files with 3309357 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_FileSystem
#define INCLUDED_sys_FileSystem
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(sys,FileSystem)
namespace sys{
class HXCPP_CLASS_ATTRIBUTES FileSystem_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef FileSystem_obj OBJ_;
FileSystem_obj();
public:
enum { _hx_ClassId = 0x284891f8 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="sys.FileSystem")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"sys.FileSystem"); }
inline static hx::ObjectPtr< FileSystem_obj > __new() {
hx::ObjectPtr< FileSystem_obj > __this = new FileSystem_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< FileSystem_obj > __alloc(hx::Ctx *_hx_ctx) {
FileSystem_obj *__this = (FileSystem_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(FileSystem_obj), false, "sys.FileSystem"));
*(void **)__this = FileSystem_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~FileSystem_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("FileSystem",ab,e2,17,ca); }
static bool exists(::String path);
static ::Dynamic exists_dyn();
};
} // end namespace sys
#endif /* INCLUDED_sys_FileSystem */

View File

@@ -0,0 +1,64 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_io_File
#define INCLUDED_sys_io_File
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Input)
HX_DECLARE_CLASS2(sys,io,File)
HX_DECLARE_CLASS2(sys,io,FileInput)
namespace sys{
namespace io{
class HXCPP_CLASS_ATTRIBUTES File_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef File_obj OBJ_;
File_obj();
public:
enum { _hx_ClassId = 0x01dc4e07 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="sys.io.File")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"sys.io.File"); }
inline static hx::ObjectPtr< File_obj > __new() {
hx::ObjectPtr< File_obj > __this = new File_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< File_obj > __alloc(hx::Ctx *_hx_ctx) {
File_obj *__this = (File_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(File_obj), false, "sys.io.File"));
*(void **)__this = File_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~File_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("File",9c,fa,94,2e); }
static ::sys::io::FileInput read(::String path,hx::Null< bool > binary);
static ::Dynamic read_dyn();
};
} // end namespace sys
} // end namespace io
#endif /* INCLUDED_sys_io_File */

View File

@@ -0,0 +1,64 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_io_FileInput
#define INCLUDED_sys_io_FileInput
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_io_Input
#include <haxe/io/Input.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Input)
HX_DECLARE_CLASS2(sys,io,FileInput)
namespace sys{
namespace io{
class HXCPP_CLASS_ATTRIBUTES FileInput_obj : public ::haxe::io::Input_obj
{
public:
typedef ::haxe::io::Input_obj super;
typedef FileInput_obj OBJ_;
FileInput_obj();
public:
enum { _hx_ClassId = 0x7d72f7a3 };
void __construct( ::Dynamic f);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="sys.io.FileInput")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"sys.io.FileInput"); }
static hx::ObjectPtr< FileInput_obj > __new( ::Dynamic f);
static hx::ObjectPtr< FileInput_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic f);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~FileInput_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("FileInput",ce,43,18,62); }
::Dynamic _hx___f;
int readByte();
int readBytes( ::haxe::io::Bytes s,int p,int l);
void close();
};
} // end namespace sys
} // end namespace io
#endif /* INCLUDED_sys_io_FileInput */

View File

@@ -0,0 +1,61 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_io_Process
#define INCLUDED_sys_io_Process
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Input)
HX_DECLARE_CLASS2(haxe,io,Output)
HX_DECLARE_CLASS2(sys,io,Process)
namespace sys{
namespace io{
class HXCPP_CLASS_ATTRIBUTES Process_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Process_obj OBJ_;
Process_obj();
public:
enum { _hx_ClassId = 0x15242bc4 };
void __construct(::String cmd,::Array< ::String > args, ::Dynamic detached);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="sys.io.Process")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"sys.io.Process"); }
static hx::ObjectPtr< Process_obj > __new(::String cmd,::Array< ::String > args, ::Dynamic detached);
static hx::ObjectPtr< Process_obj > __alloc(hx::Ctx *_hx_ctx,::String cmd,::Array< ::String > args, ::Dynamic detached);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Process_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Process",4f,ca,9b,be); }
::Dynamic p;
::haxe::io::Input _hx_stdout;
::haxe::io::Input _hx_stderr;
::haxe::io::Output _hx_stdin;
void close();
::Dynamic close_dyn();
};
} // end namespace sys
} // end namespace io
#endif /* INCLUDED_sys_io_Process */

View File

@@ -0,0 +1,61 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_io__Process_Stdin
#define INCLUDED_sys_io__Process_Stdin
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_io_Output
#include <haxe/io/Output.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Output)
HX_DECLARE_CLASS3(sys,io,_Process,Stdin)
namespace sys{
namespace io{
namespace _Process{
class HXCPP_CLASS_ATTRIBUTES Stdin_obj : public ::haxe::io::Output_obj
{
public:
typedef ::haxe::io::Output_obj super;
typedef Stdin_obj OBJ_;
Stdin_obj();
public:
enum { _hx_ClassId = 0x7e8e3445 };
void __construct( ::Dynamic p);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="sys.io._Process.Stdin")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"sys.io._Process.Stdin"); }
static hx::ObjectPtr< Stdin_obj > __new( ::Dynamic p);
static hx::ObjectPtr< Stdin_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic p);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Stdin_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Stdin",28,23,3b,17); }
::Dynamic p;
::haxe::io::Bytes buf;
};
} // end namespace sys
} // end namespace io
} // end namespace _Process
#endif /* INCLUDED_sys_io__Process_Stdin */

View File

@@ -0,0 +1,66 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_io__Process_Stdout
#define INCLUDED_sys_io__Process_Stdout
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_io_Input
#include <haxe/io/Input.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Input)
HX_DECLARE_CLASS3(sys,io,_Process,Stdout)
namespace sys{
namespace io{
namespace _Process{
class HXCPP_CLASS_ATTRIBUTES Stdout_obj : public ::haxe::io::Input_obj
{
public:
typedef ::haxe::io::Input_obj super;
typedef Stdout_obj OBJ_;
Stdout_obj();
public:
enum { _hx_ClassId = 0x3de41c2e };
void __construct( ::Dynamic p,bool out);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="sys.io._Process.Stdout")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"sys.io._Process.Stdout"); }
static hx::ObjectPtr< Stdout_obj > __new( ::Dynamic p,bool out);
static hx::ObjectPtr< Stdout_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic p,bool out);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Stdout_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Stdout",eb,33,88,3c); }
::Dynamic p;
bool out;
::haxe::io::Bytes buf;
int readByte();
int readBytes( ::haxe::io::Bytes str,int pos,int len);
};
} // end namespace sys
} // end namespace io
} // end namespace _Process
#endif /* INCLUDED_sys_io__Process_Stdout */

View File

@@ -0,0 +1,79 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_sys_thread_Deque
#define INCLUDED_sys_thread_Deque
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_136ea4cadc3ef98e_30_new)
HX_DECLARE_CLASS2(sys,thread,Deque)
namespace sys{
namespace thread{
class HXCPP_CLASS_ATTRIBUTES Deque_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Deque_obj OBJ_;
Deque_obj();
public:
enum { _hx_ClassId = 0x5c8bea89 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="sys.thread.Deque")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"sys.thread.Deque"); }
inline static hx::ObjectPtr< Deque_obj > __new() {
hx::ObjectPtr< Deque_obj > __this = new Deque_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Deque_obj > __alloc(hx::Ctx *_hx_ctx) {
Deque_obj *__this = (Deque_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Deque_obj), true, "sys.thread.Deque"));
*(void **)__this = Deque_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_136ea4cadc3ef98e_30_new)
HXDLIN( 30) ( ( ::sys::thread::Deque)(__this) )->q = ::__hxcpp_deque_create();
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Deque_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Deque",00,24,58,6a); }
::Dynamic q;
void add( ::Dynamic i);
::Dynamic add_dyn();
void push( ::Dynamic i);
::Dynamic push_dyn();
::Dynamic pop(bool block);
::Dynamic pop_dyn();
};
} // end namespace sys
} // end namespace thread
#endif /* INCLUDED_sys_thread_Deque */