|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
Metadata and executable code or native binding of a function loaded from a CBO. More...
#include <bond/vm/codesegment.h>
Classes | |
| union | [union].__unnamed0__ |
Public Member Functions | |
| bool | IsNative () const |
| Returns whether this function is native, i.e. implemented in C++ rather than Bond bytecode. | |
Public Attributes | |
| QualifiedName | mName |
| The fully qualified name of the function. | |
| ReturnSignature | mReturnSignature |
| The signature of the return value. | |
| ParamListSignature | mParamListSignature |
| The signature of the parameter list. | |
| const ConstantTable * | mConstantTable |
| The constant tables of the CBO in which the function is defined. | |
| union | |
| uint32_t | mCodeSize |
| The size of the bytecode in bytes, which is 0 for a native function. | |
| uint32_t | mArgSize |
| The size in bytes of the arguments laid out in the function's frame. | |
| uint32_t | mPackedArgSize |
| The size in bytes of the arguments packed into consecutive slots by the caller. | |
| uint32_t | mLocalSize |
| The size in bytes of the function's local variables. | |
| uint32_t | mStackSize |
| The maximum size in bytes of the function's operand stack. | |
| uint32_t | mFramePointerAlignment |
| The alignment in bytes of the function's frame pointer. | |
Metadata and executable code or native binding of a function loaded from a CBO.
|
inline |
Returns whether this function is native, i.e. implemented in C++ rather than Bond bytecode.
true if the function is native, otherwise false. | uint32_t Bond::Function::mArgSize |
The size in bytes of the arguments laid out in the function's frame.
| uint32_t Bond::Function::mCodeSize |
The size of the bytecode in bytes, which is 0 for a native function.
| const ConstantTable* Bond::Function::mConstantTable |
The constant tables of the CBO in which the function is defined.
| uint32_t Bond::Function::mFramePointerAlignment |
The alignment in bytes of the function's frame pointer.
| uint32_t Bond::Function::mLocalSize |
The size in bytes of the function's local variables.
| QualifiedName Bond::Function::mName |
The fully qualified name of the function.
| uint32_t Bond::Function::mPackedArgSize |
The size in bytes of the arguments packed into consecutive slots by the caller.
| ParamListSignature Bond::Function::mParamListSignature |
The signature of the parameter list.
| ReturnSignature Bond::Function::mReturnSignature |
The signature of the return value.
| uint32_t Bond::Function::mStackSize |
The maximum size in bytes of the function's operand stack.