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
15 kBeginHeader()
16
17
26 //typedef kObject kDynamicLib; --forward-declared in kApiDef.x.h
27
28
37 kFx(kStatus) kDynamicLib_Construct(kDynamicLib* library, const kChar* path, kAlloc allocator);
38
48 kFx(kStatus) kDynamicLib_FindFunction(kDynamicLib library, const kChar* name, kFunction* function);
49
50 kEndHeader()
51
52 #include <kApi/Utils/kDynamicLib.x.h>
53
54 #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.