Zen API

- Home
- Topics
- Types
- Files

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
kAlloc
Abstract base class for memory allocator types.
kChar
Represents a single unit (byte) in a UTF-8 character.
kDynamicLib::kDynamicLib_Construct
kStatus kDynamicLib_Construct(kDynamicLib *library, const kChar *path, kAlloc allocator)
Constructs a kDynamicLib object.
kApiDef.h
Core Zen type declarations.
kFunction
void(kCall * kFunction)()
Generic pointer to function.
Definition: kApiDef.h:28
kStatus
Represents an error code.
kDynamicLib::kDynamicLib_FindFunction
kStatus kDynamicLib_FindFunction(kDynamicLib library, const kChar *name, kFunction *function)
Resolves a function pointer by name from the dynamic library.
kDynamicLib
Represents a dynamically loaded library.