NAME

OADL_xxx_term - System library tear-down entry point

SYNOPSIS

void OADL_xxx_term(void *ctx)

DESCRIPTION

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.

RETURN VALUE

None.

EXAMPLE

// 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");
}

SEE ALSO

OADL_xxx