On 30/3/07 11:01 PM, "Jonathan Johnson" <[EMAIL PROTECTED]> wrote:
>> But can be something as with EXPORT pragma in C++:
>>
>> * If I declare EXPORT for class - then all its methods are exported
>>
>> * if I have problematic class as you mention, I not set EXPORT for
>> the whole
>> class, but set it for only methods that must be exported.
>>
>> Easy? Flexible?
>
> Well, they are two different languages and two separate concepts. The
> equivalent in C++ would be:
>
> #if !CONSOLE_RUNTIME
> class MyClass {}
> #endif
>
> What REALbasic does with safety flags is essentially preprocesses the
> classes and methods out before sending them to the compiler.
I see,
Btw, what is correct style?
Mark class as safe BEFORE call RegisterClass() of after?
Or this does not matter in fact ?
For months we have it BEFORE.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>