You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, macros just expand without being able to take arguments like they do in other languages like C or C++. Arguments can be implemented with the following syntax:
macro smart-list64:init list-name starting-size in // list-name and starting-size will expand to the argument
memory list-name sizeof ptr in
starting-size list64:init list-name !64
endmacro
macro smart-list64:_end list-name in // list-name will expand to the argument
list-name list64:mfree drop
end
endmacro
The text was updated successfully, but these errors were encountered:
Currently, macros just expand without being able to take arguments like they do in other languages like C or C++. Arguments can be implemented with the following syntax:
The text was updated successfully, but these errors were encountered: