Skip to main content
Skip table of contents

(v13) SwLeMemInit


This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP.

This is needed if any SwRegister functions are used for CMM, HTM, and so on. The alternative is to initialize memory via SwLeStart() . This function, however, must be called if RIP memory is required before SwLeStart() has been called, that is, if core modules need to be registered before calling SwLeStart() . It gives the RIP an area of memory pMemory of size RIP_workingSizeInBytes bytes to work in. If pMemory is NULL , the skin allocates RIP_workingSizeInBytes bytes of memory itself. In either case, the RIP manages its own allocation from this pool.

RIP_emergencySizeInBytes is additional memory beyond RIP_workingSizeInBytes to use before resorting to partial paint, and is only meaningful if pMemory is NULL .

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.