Add variadic support for native class methods
Build / AerScript (push) Successful in 47s

This commit is contained in:
2026-11-21 17:48:41 +01:00
parent bcfa4c6163
commit 1d9bf543b6
3 changed files with 84 additions and 13 deletions
+1
View File
@@ -998,6 +998,7 @@ struct ph7_vm_func_closure_env {
#define VM_FUNC_CLASS_METHOD 0x008 /* VM function is in fact a class method */
#define VM_FUNC_CLOSURE 0x010 /* VM function is a closure */
#define VM_FUNC_ARG_IGNORE 0x020 /* Do not install argument in the current frame */
#define VM_FUNC_VARIADIC 0x040 /* Native method accepts a variadic argument tail */
/*
* Each user defined function is parsed out and stored in an instance
* of the following structure.