mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 17:10:48 +00:00
work round compiler bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28776 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2fc494c446
commit
0d0c1d346c
1 changed files with 7 additions and 7 deletions
|
@ -91,7 +91,7 @@ int con_data (id prx)
|
|||
double dbl, dblr;
|
||||
char *str;
|
||||
id obj;
|
||||
small_struct small = {12};
|
||||
small_struct ss = {12};
|
||||
foo ffoo = {'Z', 1234.5678, 99, "cow", 9876543};
|
||||
foo bck;
|
||||
|
||||
|
@ -204,12 +204,12 @@ int con_data (id prx)
|
|||
|
||||
pool = [NSAutoreleasePool new];
|
||||
printf("Small Struct:\n");
|
||||
//printf(" sending %x", small.z);
|
||||
//small = [prx sendSmallStruct: small];
|
||||
//printf(" got %x\n", small.z);
|
||||
printf(" sending ptr to %x", small.z);
|
||||
[prx getSmallStruct: &small];
|
||||
printf(" got %x\n", small.z);
|
||||
//printf(" sending %x", ss.z);
|
||||
//ss = [prx sendSmallStruct: ss];
|
||||
//printf(" got %x\n", ss.z);
|
||||
printf(" sending ptr to %x", ss.z);
|
||||
[prx getSmallStruct: &ss];
|
||||
printf(" got %x\n", ss.z);
|
||||
[pool release];
|
||||
|
||||
#if 1 || !defined(__MINGW32__)
|
||||
|
|
Loading…
Reference in a new issue