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

#include <x-prim.h>

Data Fields

x_char_tname
 
x_fn_t fn
 
x_char_tns
 
x_char_tmethod
 

Detailed Description

A primitive's env name + catalog coordinates, for x_prims_bind_table(). ns NULL => bound into the env only (not cataloged). A module adopts the catalog 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

Catalog 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

Catalog namespace (type/section), or NULL.


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