diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-19 11:48:34 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-19 11:49:14 +0100 |
| commit | 3d1932fb68aa20b87429b55355bb051f817070ce (patch) | |
| tree | d1eb6ff469610903d2814a90900a08477c9b5242 /dev/libMsg/MsgKit | |
| parent | 61236d6fba58fb0edc62ddf39a5ebbff049e2648 (diff) | |
feat: CoreProcessScheduler has now a 'kSpecial' type for trees. (Because of SwapKit, or devices) reworked LibMSG lisp function pointer type.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/libMsg/MsgKit')
| -rw-r--r-- | dev/libMsg/MsgKit/Server.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/libMsg/MsgKit/Server.h b/dev/libMsg/MsgKit/Server.h index 33d10407..aee0dbdd 100644 --- a/dev/libMsg/MsgKit/Server.h +++ b/dev/libMsg/MsgKit/Server.h @@ -29,8 +29,10 @@ struct LIBMSG_EXPR final { LIBMSG_EXPR* l_child{nullptr}; }; -typedef Void (*libmsg_func_t)(LIBMSG_EXPR* arg); +/// @brief Function type for LibMSG lisp. +typedef Void (*libmsg_func_t)(LIBMSG_EXPR* self, VoidPtr arg, SizeT arg_size); IMPORT_C Void libmsg_init_library(libmsg_func_t* funcs, SizeT cnt); -IMPORT_C UInt32 libmsg_eval_library(struct LIBMSG_EXPR* head); IMPORT_C UInt32 libmsg_close_library(Void); + +IMPORT_C UInt32 libmsg_eval_expr(struct LIBMSG_EXPR* head); |
