Untested idea:
template cppDefinedMacro(def, body: untyped) =
{.emit: "CPP_DEFINED_MACRO(", def, ") {", body, "}".}
cppDefinedMacro "yay":
cpp_defined_function(param1)
other_cpp_defined_function(param2, param3)
- How do I wrap this? Lando
- Re: How do I wrap this? Araq
- Re: How do I wrap this? Lando
