plugify  1.0.0.0
Public Types | Public Member Functions | List of all members
plugify::JitCall::Parameters Struct Reference

Structure to represent function parameters. More...

#include <call.hpp>

Public Types

typedef const uint64_t * Data
 

Public Member Functions

 Parameters (uint8_t count)
 Constructor. More...
 
template<typename T >
void AddArgument (T val)
 Set the value of the argument at next available position. More...
 
Data GetDataPtr () const noexcept
 Get a pointer to the argument storage. More...
 

Detailed Description

Structure to represent function parameters.

Definition at line 44 of file call.hpp.

Constructor & Destructor Documentation

◆ Parameters()

plugify::JitCall::Parameters::Parameters ( uint8_t  count)
inlineexplicit

Constructor.

Parameters
countParameters count.

Definition at line 51 of file call.hpp.

Member Function Documentation

◆ AddArgument()

template<typename T >
void plugify::JitCall::Parameters::AddArgument ( val)
inline

Set the value of the argument at next available position.

Template Parameters
TType of the argument.
Parameters
valValue to set. @noreturn

Definition at line 62 of file call.hpp.

◆ GetDataPtr()

Data plugify::JitCall::Parameters::GetDataPtr ( ) const
inlinenoexcept

Get a pointer to the argument storage.

Returns
Pointer to the arguments storage.

Definition at line 71 of file call.hpp.


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