[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xprint and xfprint
From: |
Marcus G. Daniels |
Subject: |
Re: xprint and xfprint |
Date: |
10 Jan 2000 09:12:41 -0800 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "B" == Benedikt Stefansson <address@hidden> writes:
B> The xprint and xfprint macros do not work in Swarm 2.0.1 installed
B> with the latest RedHat RPMs from Paul.
Here's what I have on Redhat 6.1:
address@hidden $ ./testxprint --version
testxprint 0.0 (Swarm 1999-12-16)
address@hidden $ ./testxprint
0x8088ed8: SwarmObject, display name: SwarmObject
#import <simtools.h> // initSwarmBatch
#import <collections.h> // List
#import <objectbase.h> // SwarmObject
#import <defobj.h> // xprint
int
main (int argc, const char **argv)
{
initSwarmBatch (argc, argv);
{
id anObject = [SwarmObject create: globalZone];
id aList = [List create: globalZone];
[aList addLast: anObject];
xfprint (aList);
}
}
/*
Local Variables:
compile-command: "$SWARMHOME/bin/libtool-swarm --mode=link gcc -D_GNU_SOURCE
-DAPPVERSION=0.0 -DAPPNAME=testxprint -o testxprint -g -Wno-import
-I$SWARMHOME/include/swarm -L$SWARMHOME/lib/swarm testxprint.m -lswarm -lobjc"
End:
*/
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.