infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
Ch09_SafeExceptions.c File Reference
#include <infix/infix.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for Ch09_SafeExceptions.c:

Functions

void native_crash_func ()
 
int main ()
 

Function Documentation

◆ main()

int main ( void  )

◆ native_crash_func()

void native_crash_func ( )

eg/cookbook/Ch09_SafeExceptions.c

This recipe demonstrates how to use the "Safe Exception Boundary" feature to catch exceptions (C++ or Windows SEH) that occur inside native code, preventing them from crashing your application.