fixed some missing semicolons. Each one caused a compile error in generated code
This commit is contained in:
parent
ae0efd3d74
commit
d58041606e
2 changed files with 6 additions and 6 deletions
|
|
@ -94,20 +94,20 @@
|
|||
%{ $input = enumToInteger($input, "$R_class"); %}
|
||||
|
||||
%typemap(scoercein) SWIGTYPE, SWIGTYPE *, SWIGTYPE *const, SWIGTYPE &, SWIGTYPE &&
|
||||
%{ if (inherits($input, "ExternalReference")) $input = slot($input,"ref") %}
|
||||
%{ if (inherits($input, "ExternalReference")) $input = slot($input,"ref"); %}
|
||||
|
||||
/*
|
||||
%typemap(scoercein) SWIGTYPE *, SWIGTYPE *const
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class"); %}
|
||||
|
||||
%typemap(scoercein) SWIGTYPE &
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class"); %}
|
||||
|
||||
%typemap(scoercein) SWIGTYPE &&
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class"); %}
|
||||
|
||||
%typemap(scoercein) SWIGTYPE
|
||||
%{ $input = coerceIfNotSubclass($input, "$&R_class") %}
|
||||
%{ $input = coerceIfNotSubclass($input, "$&R_class"); %}
|
||||
*/
|
||||
|
||||
%typemap(scoercein) SWIGTYPE[ANY]
|
||||
|
|
|
|||
|
|
@ -2120,7 +2120,7 @@ int R::functionWrapper(Node *n) {
|
|||
{
|
||||
String *finalizer = NewString(iname);
|
||||
Replace(finalizer, "new_", "", DOH_REPLACE_FIRST);
|
||||
Printf(sfun->code, "reg.finalizer(ans@ref, delete_%s)\n", finalizer);
|
||||
Printf(sfun->code, "reg.finalizer(ans@ref, delete_%s);\n", finalizer);
|
||||
}
|
||||
Printf(sfun->code, "ans\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue