swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copying an object in swarm-v.1.0.2 ? (i.e. copy message)


From: Jae Chan Oh
Subject: Copying an object in swarm-v.1.0.2 ? (i.e. copy message)
Date: Wed, 23 Jul 1997 18:31:23 -0400 (EDT)

Hi, I have updated my swarm to the version 1.0.2.

I have a problem that didn't exist with the old swarm version.

        tMember = [member copy];

worked fine. (This is to have a duplicate of "member")

Now I'm getting a runtime error saying the following. Any ideas?
I've tried to use [member copy: [self getZone]] but didn't work either.
What is the proper way to copy an object?

Thanks.

--- The runtime error message follows.

*** event raised for error: BlockedObjectAlloc
*** function: _i_Object_s__copy(), file: DefObject.m, line: 487
> Requested operation is defined by the Object superclass of the GNU
> Objective C runtime system, but is blocked from usage because its default
> implementation is incompatible with the model of zone-based allocation
> established by the defobj package.  To allocate, free, or copy objects
> that use the defined model of zone-based allocation, one of the messages
> create:, createBegin:/End, drop, or copy: must be used instead.
*** execution terminating due to error
IOT trap/Abort (core dumped)

                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]