Updated Guile examples.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f05199ab6b
commit
c883555fb3
4 changed files with 0 additions and 5 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
//
|
//
|
||||||
// FILE : matrix.i
|
// FILE : matrix.i
|
||||||
|
|
||||||
%init Matrix_init
|
|
||||||
%{
|
%{
|
||||||
|
|
||||||
void set_m(double **M, int i, int j, double val) {
|
void set_m(double **M, int i, int j, double val) {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%include guile/typemaps.i
|
|
||||||
%include guilemain.i
|
%include guilemain.i
|
||||||
%include matrix.i
|
%include matrix.i
|
||||||
%include vector.i
|
%include vector.i
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//
|
//
|
||||||
// FILE : vector.i
|
// FILE : vector.i
|
||||||
|
|
||||||
%init Vector_Init
|
|
||||||
%{
|
%{
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@
|
||||||
/* Put headers and other declarations here */
|
/* Put headers and other declarations here */
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%include guile/typemaps.i
|
|
||||||
|
|
||||||
extern double My_variable;
|
extern double My_variable;
|
||||||
extern int fact(int);
|
extern int fact(int);
|
||||||
extern int mod(int n, int m);
|
extern int mod(int n, int m);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue