git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
22 lines
400 B
OpenEdge ABL
22 lines
400 B
OpenEdge ABL
//
|
|
// FILE : vector.i
|
|
|
|
%{
|
|
#include "vector.h"
|
|
%}
|
|
|
|
%inline {
|
|
|
|
extern Vector *createv(double x,double y,double z,double w);
|
|
/* Creates a new vector v(x,y,z,w) */
|
|
|
|
extern void destroyv(Vector *v);
|
|
/* Destroys the vector v */
|
|
|
|
extern void printv(Vector *v);
|
|
/* Prints out the vector v */
|
|
|
|
extern void transform(double **T, Vector *v, Vector *t);
|
|
/* Transforms vector c to vector t by M*v --> t */
|
|
|
|
}
|