This commit is contained in:
2026-05-15 13:14:06 -05:00
parent d3a876ca7d
commit a1c1aa0591
3 changed files with 44 additions and 4 deletions

View File

@@ -35,6 +35,11 @@ TYC_RESULT tyc_call(TycheVM* T, uint16_t n_pars)
abort(); // TODO
}
size_t tyc_stack_size(TycheVM* T)
{
return stack_len(T->stack);
}
void tyc_pushinteger(TycheVM* T, int32_t value)
{
stack_push(T->stack, create_value_integer(value));