Expand description
Types and traits related to host bindings for the QuakeC runtime.
Structs§
- FnCall
- The function call context, containing both the user context and the current VM context (which can be used to call into QuakeC functions).
Enums§
- Addr
Error - An error when getting/setting an address
Traits§
- Context
- User-provided global context. This is passed in to all functions and entity getters/setters.
- DynEq
- A dynamic form of
PartialEqthat can be used in type-erased contexts. - Entity
Handle - A handle to a host entity. This should not be the type that stores the actual entity
data. All values in
qcvmare immutable, the only mutable state is the context. This should be implemented for a handle to an entity, with the entity data itself being stored in the context. - Erased
Context - A type-erased context that can be used for dynamic dispatch.
- Erased
Function - Type-erased version of
Function, for dynamic dispatch. - Function
- A function callable from QuakeC code. This may call further internal functions, and is passed a configurable context type.
- QCType
- The type of values that can be used in the QuakeC runtime.