|
From: Joseph J. S. <jo...@st...> - 2004-06-24 20:49:36
|
At 9:20 AM -0700 6/24/04, James W. Walker wrote: >>- If you have some generic routine that takes a TQ3Object and makes >>another reference to it, then you can't know at compile time >>whether or not it is shared, so you must find out dynamically >>somehow whether or not to call Q3Shared_GetReference... but how? > >Easy: Q3Object_IsType( x, kQ3ObjectTypeShared ) So you really have to do this before you know whether to call Q3Shared_GetReference on a generic TQ3Object? Does this seem desirable to anyone, or do we only do it that way because it's how QD3D worked? Given the quality of the QD3D API in general, this seems like a surprisingly onerous flaw, so I guess I still hope that I'm missing something. Thanks, - Joe -- ,------------------------------------------------------------------. | Joseph J. Strout Check out the Mac Web Directory: | | jo...@st... http://www.macwebdir.com/ | `------------------------------------------------------------------' |