plugify 1.0.0.0
Loading...
Searching...
No Matches
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 (size_t count)
 Constructor.
 
template<typename T >
void AddArgument (T val)
 Set the value of the argument at next available position.
 
Data GetDataPtr () const noexcept
 Get a pointer to the argument storage.
 

Detailed Description

Structure to represent function parameters.

Definition at line 50 of file call.hpp.

Member Typedef Documentation

◆ Data

typedef const uint64_t* plugify::JitCall::Parameters::Data

Definition at line 51 of file call.hpp.

Constructor & Destructor Documentation

◆ Parameters()

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

Constructor.

Parameters
countParameters count.

Definition at line 57 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 68 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 77 of file call.hpp.


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