hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
runtime.h File Reference
Include dependency graph for runtime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

YoiIntegerObjectyoimiya_entry ()
 
YoiObjectArrayruntime_get_argv ()
 
void runtime_panic (char *message)
 
int elysia_main (int argc, char *argv[])
 
void * runtime_get_stdin_fp ()
 
void * runtime_get_stdout_fp ()
 
void * runtime_get_stderr_fp ()
 

Variables

const char ** yoi_argv
 
int yoi_argc
 
char yoi_desc
 
const unsigned long long yoi_build_type
 

Function Documentation

◆ elysia_main()

int elysia_main ( int  argc,
char *  argv[] 
)

Definition at line 16 of file runtime.cpp.

References hperf_init(), hperf_report_filename, hperf_write_report(), YoiIntegerObject::value, yoi_argc, yoi_argv, yoi_build_type, yoi_desc, and yoimiya_entry().

Here is the call graph for this function:

◆ runtime_get_argv()

YoiObjectArray * runtime_get_argv ( )

Definition at line 60 of file runtime.cpp.

References YoiObjectArray::gc_refcount, runtime_object_alloc(), yoi_argc, and yoi_argv.

Here is the call graph for this function:

◆ runtime_get_stderr_fp()

void * runtime_get_stderr_fp ( )

Definition at line 85 of file runtime.cpp.

◆ runtime_get_stdin_fp()

void * runtime_get_stdin_fp ( )

Definition at line 77 of file runtime.cpp.

◆ runtime_get_stdout_fp()

void * runtime_get_stdout_fp ( )

Definition at line 81 of file runtime.cpp.

◆ runtime_panic()

void runtime_panic ( char *  message)

Definition at line 72 of file runtime.cpp.

◆ yoimiya_entry()

YoiIntegerObject * yoimiya_entry ( )

Referenced by elysia_main().

Here is the caller graph for this function:

Variable Documentation

◆ yoi_argc

int yoi_argc

Definition at line 19 of file runtime.h.

◆ yoi_argv

const char** yoi_argv

Definition at line 17 of file runtime.h.

◆ yoi_build_type

const unsigned long long yoi_build_type

Definition at line 23 of file runtime.h.

Referenced by elysia_main().

◆ yoi_desc

char yoi_desc

Definition at line 21 of file runtime.h.

Referenced by elysia_main().