Login
7 branches 0 tags
Ben (RPI 4) Rewrote the RNG in Nujel b3957a9 4 years ago 136 Commits
nujel / lib / exception.h
#pragma once
#include "nujel.h"
#include <setjmp.h>

extern jmp_buf exceptionTarget;
extern lVal *exceptionValue;

void lExceptionThrowRaw(lVal *v);
void lExceptionThrow(const char *symbol, const char *error);
void lExceptionThrowVal(const char *symbol, const char *error, lVal *v);
void lExceptionInit();