Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Runtime::FunctionInstance Struct Reference

#include <RuntimePrivate.h>

Inheritance diagram for Runtime::FunctionInstance:
Collaboration diagram for Runtime::FunctionInstance:

Public Member Functions

 FunctionInstance (ModuleInstance *inModuleInstance, const FunctionType *inType, void *inNativeFunction=nullptr, const char *inDebugName="<unidentified FunctionInstance>")
 
- Public Member Functions inherited from Runtime::GCObject
 GCObject (ObjectKind inKind)
 
 ~GCObject () override
 
- Public Member Functions inherited from Runtime::ObjectInstance
 ObjectInstance (IR::ObjectKind inKind)
 
virtual ~ObjectInstance ()
 

Public Attributes

ModuleInstancemoduleInstance
 
const FunctionTypetype
 
void * nativeFunction
 
std::string debugName
 
- Public Attributes inherited from Runtime::ObjectInstance
const IR::ObjectKind kind
 

Detailed Description

Definition at line 44 of file RuntimePrivate.h.

Constructor & Destructor Documentation

◆ FunctionInstance()

Runtime::FunctionInstance::FunctionInstance ( ModuleInstance * inModuleInstance,
const FunctionType * inType,
void * inNativeFunction = nullptr,
const char * inDebugName = "<unidentified FunctionInstance>" )
inline

Definition at line 51 of file RuntimePrivate.h.

52 : GCObject(ObjectKind::function), moduleInstance(inModuleInstance), type(inType), nativeFunction(inNativeFunction), debugName(inDebugName) {}
ModuleInstance * moduleInstance
const FunctionType * type
GCObject(ObjectKind inKind)
Definition ObjectGC.cpp:26

Member Data Documentation

◆ debugName

std::string Runtime::FunctionInstance::debugName

Definition at line 49 of file RuntimePrivate.h.

◆ moduleInstance

ModuleInstance* Runtime::FunctionInstance::moduleInstance

Definition at line 46 of file RuntimePrivate.h.

◆ nativeFunction

void* Runtime::FunctionInstance::nativeFunction

Definition at line 48 of file RuntimePrivate.h.

◆ type

const FunctionType* Runtime::FunctionInstance::type

Definition at line 47 of file RuntimePrivate.h.


The documentation for this struct was generated from the following file: