Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::Function Struct Reference

Function metadata and executable payload loaded from CBO. More...

#include <bond/vm/codesegment.h>

Public Member Functions

bool IsNative () const
 Indicates whether this function is native.

Public Attributes

QualifiedName mName
ReturnSignature mReturnSignature
ParamListSignature mParamListSignature
const ConstantTablemConstantTable
union { 
   const uint8_t *   mCode 
   NativeFunction   mNativeFunction 
}; 
uint32_t mCodeSize
uint32_t mArgSize
uint32_t mPackedArgSize
uint32_t mLocalSize
uint32_t mStackSize
uint32_t mFramePointerAlignment
bool mUnpackArguments

Detailed Description

Function metadata and executable payload loaded from CBO.

Member Function Documentation

◆ IsNative()

bool Bond::Function::IsNative ( ) const
inline

Indicates whether this function is native.

Returns
true if the function is native, otherwise false.

Member Data Documentation

◆ [union]

union { ... } Bond::Function

◆ mArgSize

uint32_t Bond::Function::mArgSize

◆ mCode

const uint8_t* Bond::Function::mCode

◆ mCodeSize

uint32_t Bond::Function::mCodeSize

◆ mConstantTable

const ConstantTable* Bond::Function::mConstantTable

◆ mFramePointerAlignment

uint32_t Bond::Function::mFramePointerAlignment

◆ mLocalSize

uint32_t Bond::Function::mLocalSize

◆ mName

QualifiedName Bond::Function::mName

◆ mNativeFunction

NativeFunction Bond::Function::mNativeFunction

◆ mPackedArgSize

uint32_t Bond::Function::mPackedArgSize

◆ mParamListSignature

ParamListSignature Bond::Function::mParamListSignature

◆ mReturnSignature

ReturnSignature Bond::Function::mReturnSignature

◆ mStackSize

uint32_t Bond::Function::mStackSize

◆ mUnpackArguments

bool Bond::Function::mUnpackArguments

The documentation for this struct was generated from the following file:
  • include/bond/vm/codesegment.h