Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kDynamicLib.h
Go to the documentation of this file.
1 
10 #ifndef K_API_DYNAMIC_LIB_H
11 #define K_API_DYNAMIC_LIB_H
12 
13 #include <kApi/kApiDef.h>
14 #include <kApi/Utils/kDynamicLib.x.h>
15 
25 //typedef kObject kDynamicLib; --forward-declared in kApiDef.x.h
26 
36 kFx(kStatus) kDynamicLib_Construct(kDynamicLib* library, const kChar* path, kAlloc allocator);
37 
47 kFx(kStatus) kDynamicLib_FindFunction(kDynamicLib library, const kChar* name, kFunction* function);
48 
49 #endif
Abstract base class for memory allocator types.
Represents a single unit (byte) in a UTF-8 character.
kStatus kDynamicLib_Construct(kDynamicLib *library, const kChar *path, kAlloc allocator)
Constructs a kDynamicLib object.
Core Zen type declarations.
void(kCall * kFunction)()
Generic pointer to function.
Definition: kApiDef.h:28
Represents an error code.
kStatus kDynamicLib_FindFunction(kDynamicLib library, const kChar *name, kFunction *function)
Resolves a function pointer by name from the dynamic library.
Represents a dynamically loaded library.