problem when returning a structure containing arrays.

2006-08-30 Thread Uwe Schmitt
Hi, I compiled the follwing code with gcc -shared buglib.c -o buglib.dll: >>> buglib.h is: struct T { double x[256]; double y[256]; int i; }; struct T fun(int a); >>> buglib.c is #include "buglib.h" struct T fun(int a) { struct T retval; i

Re: problem when returning a structure containing arrays

2006-08-30 Thread Uwe Schmitt
Sorry, I made a mistake with the printf()-formatting- charcters. Greetings, Uwe