Login
7 branches 0 tags
Ben (RPI 4) Trying to use #nil as a func now throws 8099be5 4 years ago 135 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();