main

This test shows how to use the runtime in a plug-in which would have an otherwise disabled runtime

============================================================================

VERY IMPORTANT MESSAGE This is a bit of an experimental feature!

1. You can't use it with DMD + macOS. Because DMD doesn't support shared library initialization on macOS.

2. It is yet unknown how far Mac compatibility is broken by using the runtime. It is known to work since macOS 10.12 with LDC >= 1.3 but we don't have the data for previous macOS versions.

3. The behaviour on POSIX in presence of multiple instances is yet unknown. Please let us know.

============================================================================

Members

Classes

HeapObject
class HeapObject
Undocumented in source.
RuntimeTestPlugin
class RuntimeTestPlugin
Undocumented in source.

Functions

myCarelessFunction
size_t myCarelessFunction()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

cleanupObject
void cleanupObject(HeapObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta