NewLang Project
Yet another programm language
|
#include <system.h>
Public Member Functions | |
Base (RuntimePtr rt) | |
virtual | ~Base () |
Static Public Member Functions | |
static newlang::ObjPtr | __assert_abort__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __timeit__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __len__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __thread_this_id__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __thread_hardware_concurrency__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __thread_get_id__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __thread_start__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __thread_join__ (newlang::Context *ctx, newlang::Obj &in) |
static newlang::ObjPtr | __thread_joinable__ (newlang::Context *ctx, newlang::Obj &in) |
Additional Inherited Members | |
![]() | |
Buildin (RuntimePtr rt, ObjType type, const char *name=nullptr) | |
bool | CreateMethod (const char *proto, FunctionType &func, ObjType type=ObjType::Function) |
bool | CreateMethodNative (const char *proto, void *addr) |
bool | AddMethod (const char *name, ObjPtr obj) |
Base::Base | ( | RuntimePtr | rt | ) |
Definition at line 346 of file system.cpp.
References __assert_abort__(), newlang::runtime::Buildin::CreateMethod(), and VERIFY.
|
static |
Definition at line 79 of file system.cpp.
References newlang::Obj::CreateNone(), and LOG_RUNTIME.
Referenced by Base(), and newlang::RunTime::InitInternal().
|
static |
Definition at line 102 of file system.cpp.
References newlang::Obj::CreateString(), newlang::Obj::CreateValue(), LOG_INFO, and result.
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 95 of file system.cpp.
References newlang::Obj::CreateValue(), and LOG_RUNTIME.
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 128 of file system.cpp.
References newlang::Obj::CreateValue().
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 132 of file system.cpp.
References newlang::Obj::CreateValue().
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 136 of file system.cpp.
References newlang::Obj::CreateNone().
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 141 of file system.cpp.
References newlang::Obj::CreateNone().
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 145 of file system.cpp.
References newlang::Obj::CreateNone().
Referenced by newlang::RunTime::InitInternal().
|
static |
Definition at line 149 of file system.cpp.
References newlang::Obj::CreateBool().
Referenced by newlang::RunTime::InitInternal().