Spicy
Public Member Functions | Public Attributes | List of all members
hilti::detail::cxx::linker::Join Struct Reference

#include <unit.h>

Public Member Functions

bool operator< (const Join &other) const
 

Public Attributes

cxx::ID id
 
cxx::declaration::Function callee
 
std::list< cxx::declaration::Typeaux_types
 
int64_t priority
 
bool declare_only = false
 

Detailed Description

Function joined by the linker.

The HILTI linker will generate a C++ function <id> that calls all callee function registered for that ID.

Member Data Documentation

◆ aux_types

std::list<cxx::declaration::Type> hilti::detail::cxx::linker::Join::aux_types

additional types the linker needs to declare for external prototype to work

◆ callee

cxx::declaration::Function hilti::detail::cxx::linker::Join::callee

callee function to execute through linker function

◆ declare_only

bool hilti::detail::cxx::linker::Join::declare_only = false

only declare the joined C++ function, don't generate the implementation

◆ id

cxx::ID hilti::detail::cxx::linker::Join::id

name of externally visible function

◆ priority

int64_t hilti::detail::cxx::linker::Join::priority
Initial value:
=
0

Priority determining the order between callees; higher priority callees will be called first


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