hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
debug.h
Go to the documentation of this file.
1//
2// Created by XIaokang00010 on 2025/7/30.
3//
4
5#ifndef HOSHI_LANG_RUNTIME_DEBUG_H
6#define HOSHI_LANG_RUNTIME_DEBUG_H
7
8#include <cstdint>
9
10extern "C" void runtime_debug_report_current_function(const char *function_name);
11
12extern "C" void runtime_debug_report_leave_function(const char *function_name);
13
14extern "C" void runtime_debug_print(const char *message);
15
16extern "C" void runtime_debug_print_address(void *address);
17
18extern "C" void runtime_debug_print_int(int64_t value);
19
20extern "C" void runtime_debug_print_deci(double value);
21
22extern "C" void runtime_debug_print_int_1(int64_t value);
23
24#endif //HOSHI_LANG_RUNTIME_DEBUG_H
void runtime_debug_report_current_function(const char *function_name)
Definition debug.cpp:19
void runtime_debug_print_int(int64_t value)
Definition debug.cpp:32
void runtime_debug_report_leave_function(const char *function_name)
Definition debug.cpp:48
void runtime_debug_print(const char *message)
Definition debug.cpp:14
void runtime_debug_print_deci(double value)
Definition debug.cpp:42
void runtime_debug_print_address(void *address)
Definition debug.cpp:26
void runtime_debug_print_int_1(int64_t value)
Definition debug.cpp:38