removing the file 'builder.sce'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c31100860e
commit
9e57bfd84a
4 changed files with 9 additions and 10 deletions
|
|
@ -5,6 +5,7 @@ contract
|
||||||
enum
|
enum
|
||||||
funcptr
|
funcptr
|
||||||
matrix
|
matrix
|
||||||
|
matrix2
|
||||||
pointer
|
pointer
|
||||||
simple
|
simple
|
||||||
struct
|
struct
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
ilib_name = "matrixliblib";
|
|
||||||
files = ["matrixlib_wrap.c","matrixlib.o"];
|
|
||||||
libs = [];
|
|
||||||
table = ["sumitems","_wrap_sumitems";"getValues","_wrap_getValues";];
|
|
||||||
ilib_build(ilib_name,table,files,libs);
|
|
||||||
exit
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
myMatrix=[ 103 3 1 12;0 0 2043 1];
|
// loader the *.so
|
||||||
sumitems(myMatrix);
|
exec loader.sce
|
||||||
|
|
||||||
myOtherMatrix=generateValues();
|
myMatrix=[ 103 3 1 12;0 0 2043 1];
|
||||||
|
sumitems(myMatrix)
|
||||||
|
|
||||||
|
myOtherMatrix=getValues(1);
|
||||||
size(myOtherMatrix)
|
size(myOtherMatrix)
|
||||||
disp(myOtherMatrix);
|
disp(myOtherMatrix);
|
||||||
|
|
|
||||||
|
|
@ -322,7 +322,8 @@ public:
|
||||||
Printf(f->def, "\nint iOutNum = 1;\nint iVarOut = Rhs + 1;");
|
Printf(f->def, "\nint iOutNum = 1;\nint iVarOut = Rhs + 1;");
|
||||||
|
|
||||||
/* Finish the the code for the function */
|
/* Finish the the code for the function */
|
||||||
Printf(f->code, "LhsVar(iOutNum) = iVarOut;\n");
|
if (flag)
|
||||||
|
Printf(f->code, "LhsVar(iOutNum) = iVarOut;\n");
|
||||||
Printf(f->code, "return 0;\n");
|
Printf(f->code, "return 0;\n");
|
||||||
Printf(f->code, "}\n");
|
Printf(f->code, "}\n");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue