Thread
:
Can forward system has dynamic-length arguments?
View Single Post
Author
Message
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
03-12-2022 , 22:35 Can forward system has dynamic-length arguments?
#
1
I know MF_RegisterSPForward, MF_ExecuteForward has varargs (...)
however, I think the parameter length must be known and declared at the compile time.
for some reason I need something like the old callfunc_push_int() that supports dynamic-length arguments in C++ (run time)
for example I want to write a native function which is varargs (...) and auto push all the arguments to the MF_ExecuteForward or MF_RegisterSPForward etc...
possible?
__________________
youtube:
@holla16
Last edited by 11922911; 03-12-2022 at
22:40
.
11922911
View Public Profile
Send a private message to 11922911
Find More Posts by 11922911