help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Re: Using Smalltalk as a scripting language


From: Roland Plüss
Subject: Re: [Help-smalltalk] Re: Using Smalltalk as a scripting language
Date: Sat, 31 Oct 2009 16:22:50 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090926)


> You omitted all the variables that are part of every class.  Try
> "Class allInstVarNames".
>
Okay, I think I know what's the problem. I did the following.

struct csEngineClass{
    OBJ_HEADER;
    OOP uniqueInstance;
};

According to the docs OBJ_HEADER adds all the fields from #Object. This
would be then tough the instance variables of #Object. Is there a macro
for the class side instance variables of Object? Or do I have to make
them on my own ( not a problem by itself ).

-- 
Yours sincerely
Plüss Roland

Leader and Head Programmer
- Game: Epsylon ( http://epsylon.rptd.ch/ ,
http://www.moddb.com/games/4057/epsylon )
- Game Engine: Drag(en)gine ( http://dragengine.rptd.ch ,
http://www.moddb.com/engines/9/dragengine )
- Normal Map Generator: DENormGen ( http://epsylon.rptd.ch/denormgen.php )

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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