@@ -136,7 +136,7 @@ void Compiler::preoptimize()
136136
137137/* !
138138 * Adds a call to the given function.\n
139- * For example: extern "C" bool some_block(double arg1, const char *arg2)
139+ * For example: extern "C" bool some_block(double arg1, const StringPtr *arg2)
140140 */
141141CompilerValue *Compiler::addFunctionCall (const std::string &functionName, StaticType returnType, const ArgTypes &argTypes, const Args &args)
142142{
@@ -146,7 +146,7 @@ CompilerValue *Compiler::addFunctionCall(const std::string &functionName, Static
146146
147147/* !
148148 * Adds a call to the given function with a target parameter.\n
149- * For example: extern "C" bool some_block(Target *target, double arg1, const char *arg2)
149+ * For example: extern "C" bool some_block(Target *target, double arg1, const StringPtr *arg2)
150150 */
151151CompilerValue *Compiler::addTargetFunctionCall (const std::string &functionName, StaticType returnType, const ArgTypes &argTypes, const Args &args)
152152{
@@ -156,7 +156,7 @@ CompilerValue *Compiler::addTargetFunctionCall(const std::string &functionName,
156156
157157/* !
158158 * Adds a call to the given function with an execution context parameter.\n
159- * For example: extern "C" bool some_block(ExecutionContext *ctx, double arg1, const char *arg2)
159+ * For example: extern "C" bool some_block(ExecutionContext *ctx, double arg1, const StringPtr *arg2)
160160 */
161161CompilerValue *Compiler::addFunctionCallWithCtx (const std::string &functionName, StaticType returnType, const ArgTypes &argTypes, const Args &args)
162162{
0 commit comments