Bug #1067355 typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e421aeea6b
commit
d2a7c4072a
1 changed files with 1 additions and 1 deletions
|
|
@ -2111,7 +2111,7 @@ You can make a <tt>Vector</tt> look alot like a class by writing a SWIG interfac
|
|||
%extend Vector { // Attach these functions to struct Vector
|
||||
Vector(double x, double y, double z) {
|
||||
Vector *v;
|
||||
v = (Vector *v) malloc(sizeof(Vector));
|
||||
v = (Vector *) malloc(sizeof(Vector));
|
||||
v->x = x;
|
||||
v->y = y;
|
||||
v->z = z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue