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
Scilab supports the following syntax, which the Scilab renamer enables,
cgal.Point_2.new(4, 5);
where cgal and Point_2 are structs. Unfortunately, the Scilab parser has problems when no arguments are given,
cgal.Point_2.new();
giving the error:
!--error 10000
%st_e: Wrong value for input argument #1: not a valid field name.
at line 39 of function %st_e called by :
cgal.Point_2.new()
For constructors, the non-renamed form can be used instead (new_Point_2()). For other functions this is more of a problem because they by default have short arbitrary top-level Scilab names. This shouldn't be a problem for non-static member functions, since they always take at least a this pointer. For other cases, we could add control over the intermediate top-level name (the renamer's member command supports this already).
The text was updated successfully, but these errors were encountered:
Scilab supports the following syntax, which the Scilab renamer enables,
where
cgal
andPoint_2
are structs. Unfortunately, the Scilab parser has problems when no arguments are given,giving the error:
For constructors, the non-renamed form can be used instead (
new_Point_2()
). For other functions this is more of a problem because they by default have short arbitrary top-level Scilab names. This shouldn't be a problem for non-static member functions, since they always take at least a this pointer. For other cases, we could add control over the intermediate top-level name (the renamer'smember
command supports this already).The text was updated successfully, but these errors were encountered: