| To: | REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Subclassing from my own plugin |
| From: | Alfred Van Hoek <vanhoek at mac dot com> |
| Date: | Sat, 23 Dec 2006 20:20:35 -0500 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-plugins at lists dot realsoftware dot com |
| References: | <AEC83D60-0393-47EC-8581-4A3F8E1A8365 at elfdata dot com> <FC16073D-8BAC-4974-9D8C-554E562B012B at elfdata dot com> <E02EF3F2-255C-4143-AC10-45B7E30765FB at mac dot com> <F4354E57-B26E-4F0D-AADA-FA1C19F8129F at elfdata dot com> |
On Dec 23, 2006, at 7:03 PM, Theodore H. Smith wrote: That's not my question. Can you re-read please? There were a lot of questions leading to the same issue, and there was an otherwise clause suggesting you would need to pass three pointers. The answer I gave was "one pointer is sufficient". If you want to do memory shuffling with fields in the struct and subclassed structs, then you should go for a single struct declaring all fields, and set the sizeof of the subclasses in the REALclassDefinition to zero. You then need a single ClassData macro, as Christian does, but you'll waste memory as Björn indicated. Alfred_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Subclassing from my own plugin, Björn Eiríksson |
|---|---|
| Next by Date: | Re: Subclassing from my own plugin, Theodore H. Smith |
| Previous by Thread: | Re: Subclassing from my own plugin, Theodore H. Smith |
| Next by Thread: | Re: Subclassing from my own plugin, Björn Eiríksson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |