OADL_xxx_term - System library tear-down entry point
void OADL_xxx_term(void
*ctx)
This function is an optional entry point for OADL system library
implementations. Note that the xxx should be replaced with the
name of the OADL system library as provided in a using
extern statement. The ctx is an opaque OADL context
pointer, to be provided to any required callbacks.
None.
// foo.oad
using extern "libfoo";
namespace foo {
extern bar;
}
// libfoo.c
#include <stdio.h>
void OADL_libfoo_term(void *ctx)
{
fprintf(stderr, "libfoo signing off!\n");
}