The OpenD Programming Language

registerMemoryErrorHandler

Register memory error handler, store the old handler.

NullPointerError is thrown when dereferencing null pointers. A generic InvalidPointerError error is thrown in other cases.

version(AnySupported && MemoryErrorSupported)
@system nothrow
bool
registerMemoryErrorHandler
()

Return Value

Type: bool

whether the registration was successful

Limitations: Only x86 and x86_64 are supported for now.

Meta