hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
runtime.h
Go to the documentation of this file.
1//
2// Created by XIaokang00010 on 2025/7/29.
3//
4
5#ifndef HOSHI_LANG_RUNTIME_RUNTIME_H
6#define HOSHI_LANG_RUNTIME_RUNTIME_H
7
10#include <runtime/debug/debug.h>
11#include <runtime/rtti/rtti.h>
14#include <runtime/fs/fs.h>
15#include <runtime/hperf/hperf.h>
16
17extern "C" const char ** yoi_argv;
18
19extern "C" int yoi_argc;
20
21extern "C" char yoi_desc;
22
23extern "C" const unsigned long long yoi_build_type;
24
26
28
29extern "C" void runtime_panic(char *message);
30
31extern "C" int elysia_main(int argc, char *argv[]);
32
33extern "C" void *runtime_get_stdin_fp();
34
35extern "C" void *runtime_get_stdout_fp();
36
37extern "C" void *runtime_get_stderr_fp();
38
39#endif // HOSHI_LANG_RUNTIME_RUNTIME_H
char yoi_desc
Definition runtime.h:21
int elysia_main(int argc, char *argv[])
Definition runtime.cpp:16
void * runtime_get_stdin_fp()
Definition runtime.cpp:77
YoiIntegerObject * yoimiya_entry()
const unsigned long long yoi_build_type
Definition runtime.h:23
const char ** yoi_argv
Definition runtime.h:17
YoiObjectArray * runtime_get_argv()
Definition runtime.cpp:60
void * runtime_get_stdout_fp()
Definition runtime.cpp:81
int yoi_argc
Definition runtime.h:19
void runtime_panic(char *message)
Definition runtime.cpp:72
void * runtime_get_stderr_fp()
Definition runtime.cpp:85