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

Re: [sc-dev] writing primitives

you need to #include "GC.h"

On Tuesday, November 26, 2002, at 07:18  PM, crucial felix wrote:

When you do fill in slots in an object with other objects, you must call g->gc->GCWrite(obj, slot) in order to notify the garbage collector that you have modified a slot that it may have already scanned.

i'm still doing something wrong. g->gc->GCWrite is being accused of being a struct. source/app/CocoaFilePrimitives.M:96: invalid use of undefined type `struct GC' /Volumes/Macintosh HD/Users/cruxxial/SuperCollider3/headers/lang/VMGlobals.h:55: forward declaration of `struct GC'

--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.