Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kAssembly.h
Go to the documentation of this file.
1
10 #include <kApi/kApiDef.h> //--inclusion order controlled by kApiDef
11
12 #ifndef K_API_ASSEMBLY_H
13 #define K_API_ASSEMBLY_H
14
15 kBeginHeader()
16
17
69 //typedef kObject kAssembly; --forward-declared in kApiDef.x.h
70
71
81 kFx(kStatus) kAssembly_Enumerate(kArrayList assemblies);
82
98 kFx(kStatus) kAssembly_AddLoadHandler(kCallbackFx function, kPointer receiver);
99
108 kFx(kStatus) kAssembly_RemoveLoadHandler(kCallbackFx function, kPointer receiver);
109
125 kFx(kStatus) kAssembly_AddUnloadHandler(kCallbackFx function, kPointer receiver);
126
135 kFx(kStatus) kAssembly_RemoveUnloadHandler(kCallbackFx function, kPointer receiver);
136
153 kFx(kStatus) kAssembly_AddUnloadedHandler(kCallbackFx function, kPointer receiver);
154
163 kFx(kStatus) kAssembly_RemoveUnloadedHandler(kCallbackFx function, kPointer receiver);
164
172 kFx(kVersion) kAssembly_Version(kAssembly assembly);
173
181 kFx(const kChar*) kAssembly_Name(kAssembly assembly);
182
190 kFx(kSize) kAssembly_TypeCount(kAssembly assembly);
191
200 kFx(kType) kAssembly_TypeAt(kAssembly assembly, kSize index);
201
211 kFx(kStatus) kAssembly_FindType(kAssembly assembly, const kChar* name, kType* type);
212
220 kFx(kSize) kAssembly_DependencyCount(kAssembly assembly);
221
230 kFx(kAssembly) kAssembly_DependencyAt(kAssembly assembly, kSize index);
231
232 kEndHeader()
233
234 #include <kApi/kAssembly.x.h>
235
236 #endif
kAssembly::kAssembly_RemoveUnloadHandler
kStatus kAssembly_RemoveUnloadHandler(kCallbackFx function, kPointer receiver)
Removes a callback that was registered with the kAssembly_AddUnloadHandler function.
kAssembly
Represents a library of types.
kPointer
Represents a void pointer.
kSize
Represents an unsigned integer that can store a pointer address.
kAssembly::kAssembly_RemoveUnloadedHandler
kStatus kAssembly_RemoveUnloadedHandler(kCallbackFx function, kPointer receiver)
Removes a callback that was registered with the kAssembly_AddUnloadedHandler function.
kChar
Represents a single unit (byte) in a UTF-8 character.
kAssembly::kAssembly_Name
const kChar * kAssembly_Name(kAssembly assembly)
Gets the assembly name.
kAssembly::kAssembly_RemoveLoadHandler
kStatus kAssembly_RemoveLoadHandler(kCallbackFx function, kPointer receiver)
Removes a callback that was registered with the kAssembly_AddLoadHandler function.
kAssembly::kAssembly_DependencyAt
kAssembly kAssembly_DependencyAt(kAssembly assembly, kSize index)
Gets the assembly dependency at the specified index.
kAssembly::kAssembly_AddUnloadHandler
kStatus kAssembly_AddUnloadHandler(kCallbackFx function, kPointer receiver)
Adds a callback to be notified just prior to unloading an assembly.
kAssembly::kAssembly_AddUnloadedHandler
kStatus kAssembly_AddUnloadedHandler(kCallbackFx function, kPointer receiver)
Adds a callback to be notified after unloading an assembly.
kAssembly::kAssembly_Enumerate
kStatus kAssembly_Enumerate(kArrayList assemblies)
Gets a list of the currently-loaded assemblies.
kApiDef.h
Core Zen type declarations.
kCallbackFx
kStatus(kCall * kCallbackFx)(kPointer receiver, kPointer sender, void *args)
Callback signature for a generic event handler.
Definition: kApiDef.h:1450
kAssembly::kAssembly_TypeCount
kSize kAssembly_TypeCount(kAssembly assembly)
Gets the number of types in an assembly.
kType
Represents metadata about a type (class, interface, or value).
kArrayList
Represents a list implemented with a dynamic array.
kAssembly::kAssembly_FindType
kStatus kAssembly_FindType(kAssembly assembly, const kChar *name, kType *type)
Finds a type by name.
kVersion
Represents a version number.
kStatus
Represents an error code.
kAssembly::kAssembly_AddLoadHandler
kStatus kAssembly_AddLoadHandler(kCallbackFx function, kPointer receiver)
Adds a callback to be notified when a new assembly is loaded.
kAssembly::kAssembly_TypeAt
kType kAssembly_TypeAt(kAssembly assembly, kSize index)
Gets the type at a particular index within an assembly.
kAssembly::kAssembly_DependencyCount
kSize kAssembly_DependencyCount(kAssembly assembly)
Gets the count of assembly dependencies.
kAssembly::kAssembly_Version
kVersion kAssembly_Version(kAssembly assembly)
Gets the assembly version.