64 bit portability fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f2f29c9ba5
commit
a66071a8c7
5 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ Vector *new_Vector(double x, double y, double z) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void vector_print(Vector *v) {
|
void vector_print(Vector *v) {
|
||||||
printf("Vector %x = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
printf("Vector %p = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
void vector_print(Vector *v) {
|
void vector_print(Vector *v) {
|
||||||
printf("Vector %x = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
printf("Vector %p = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ Vector *new_Vector(double x, double y, double z) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void vector_print(Vector *v) {
|
void vector_print(Vector *v) {
|
||||||
printf("Vector %x = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
printf("Vector %p = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ Vector *new_Vector(double x, double y, double z) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void vector_print(Vector *v) {
|
void vector_print(Vector *v) {
|
||||||
printf("Vector %x = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
printf("Vector %p = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ Vector *new_Vector(double x, double y, double z) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void vector_print(Vector *v) {
|
void vector_print(Vector *v) {
|
||||||
printf("Vector %x = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
printf("Vector %p = (%g, %g, %g)\n", v, v->x, v->y, v->z);
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue