x-engine-c v0.2.31
The C engine for x-lang
Loading...
Searching...
No Matches
x_prim_entry_t Struct Reference

#include <x-prim.h>

Data Fields

x_char_t * name
 
x_fn_t fn
 
x_char_t * ns
 
x_char_t * method
 

Detailed Description

A primitive's env name + catalogue coordinates, for x_prims_bind_table(). ns NULL => bound into the env only (not catalogued). A module adopts the catalogue by switching its table to this type; unconverted modules keep using x_callable_entry_t untouched.

Field Documentation

◆ fn

x_fn_t x_prim_entry_t::fn

C primitive function pointer.

◆ method

x_char_t* x_prim_entry_t::method

Catalogue bare method name.

◆ name

x_char_t* x_prim_entry_t::name

Env symbol name (transitional).

◆ ns

x_char_t* x_prim_entry_t::ns

Catalogue namespace (type/section), or NULL.


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