carb/BindingsUtils.h¶
↰ Parent directory: carb/
Utilities for script bindings.
Source: carb/BindingsUtils.h
Classes¶
carb::FrameworkInitializerForBindings: A helper class used by CARB_BINDINGS to acquire and release the carb::Framework for a binding.
Functions¶
carb::acquireFrameworkForBindings: Undocumented.
carb::acquireInterfaceForBindings: A helper function for Framework::tryAcquireInterface() that attempts to load plugins if not found.
carb::acquireInterfaceFromLibraryForBindings: Helper for Framework::tryAcquireInterfaceFromLibrary() that throws on error.
carb::getCachedInterfaceForBindings: A helper function for carb::getCachedInterface that throws on error.
carb::hashPair: A helper function for combining two hash values.
carb::releaseFrameworkForBindings: Releases the Carbonite carb::Framework for a script binding.
carb::wrapInterfaceFunction: Wraps an interface function into a
std::function<>
.carb::wrapInterfaceFunction: Wraps an interface function into a
std::function<>
.
Defines¶
CARB_BINDINGS: Declare a compilation unit as script language bindings.
CARB_BINDINGS_EX: Declare a compilation unit as script language bindings.