diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-07-18 14:01:26 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-07-18 14:01:26 -0400 |
| commit | 003119b9f285e5610f56186bce845441409265ae (patch) | |
| tree | 34a123532811537a0dd30aa797578be8f732b45b /docs/application/namespace.md | |
| parent | e950f786e25967a222cfa7bce7327ffd458e8c95 (diff) | |
op and ir matching definitions
Diffstat (limited to 'docs/application/namespace.md')
| -rw-r--r-- | docs/application/namespace.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/application/namespace.md b/docs/application/namespace.md index cd1f89e..d276fd0 100644 --- a/docs/application/namespace.md +++ b/docs/application/namespace.md @@ -5,21 +5,21 @@ ## Object Definitions ```c -#define KPL_TREE_HEADER() uint32_t tree_weight, module_id; struct _kpl_namespace_tree *tree_left, *tree_right; kpl_buffer *name +#define KPL_TREE_HEADER(STRUCT) uint32_t tree_weight, module_id; STRUCT *tree_left, *tree_right; kpl_buffer *name -typedef struct _kpl_namespace_tree { - KPL_TREE_HEADER(); +typedef struct _kpl_namespace_tree_obj { + KPL_TREE_HEADER(struct _kpl_namespace_tree_obj); } kpl_namespace_tree_obj; typedef struct _kpl_namespace_native { - KPL_TREE_HEADER(); + KPL_TREE_HEADER(struct _kpl_namespace_native); kpl_type *export_var_tree; } kpl_namespace_native; static kpl_namespace_native *namespace_native_tree; typedef struct _kpl_namespace_module { - KPL_TREE_HEADER(); + KPL_TREE_HEADER(struct _kpl_namespace_module); kpl_buffer *body; kpl_type *ast, *export_var_tree; kpl_mutex export_mutex; |
