Hello

> But, if we added the following:
> 
> // Some definition...
> 
> extern "C" {
>     NS_EXPORT void * NS_Alloc( size_t size );
>     NS_EXPORT nsIMemory* NS_GetGlobalMemoryService( );
>     // Other functions removed for brevities sake.
> }
In fact it doesn't make much sense to implement things like this as an 
interface, that should be instantiated. In fact there is PR_Malloc, PR_Calloc, 
PR_Realloc and PR_Free :). And also lot of other stuffs defined in NSPR :) 

-- 
--
Regards,
Waleri

Reply via email to