The OpenD Programming Language

libcef

This gives access to the CEF functions. If you get a linker error for using an undefined function, it is probably because you did NOT go through this when dynamically loading.

(...similarly, if you get a segfault, it is probably because you DID go through this when static binding.)

version(cef)
struct libcef {
static __gshared
bool isLoaded;
static __gshared
bool loadAttempted;
static __gshared
void* libHandle;
}

Members

Static functions

loadDynamicLibrary
bool loadDynamicLibrary()

Make sure you call this only from one thread, probably at process startup. It caches internally and returns true if the load was successful.

Meta