ReXGlue SDK
Loading...
Searching...
No Matches
rex::kernel::ModuleImport Struct Reference

#include <rex/kernel/module.h>

Public Member Functions

constexpr ModuleImport (const char *library_name, u16 export_ordinal)

Public Attributes

const char * library
u16 ordinal
std::atomic< PPCFunc * > function {nullptr}
std::atomic< u64 > generation {0}

Detailed Description

A function another loaded module exports by ordinal, resolved on its first call.

Constructor & Destructor Documentation

◆ ModuleImport()

rex::kernel::ModuleImport::ModuleImport ( const char * library_name,
u16 export_ordinal )
inlineconstexpr
Parameters
library_nameThe base name of the exporting module, without directory and extension.

Member Data Documentation

◆ generation

std::atomic<u64> rex::kernel::ModuleImport::generation {0}

Registry generation the function was resolved at.

◆ library

const char* rex::kernel::ModuleImport::library

Base name of the exporting module.


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