dplug.core.runtime

This file provides ScopedForeignCallback to be used in every callback, and use to provide runtime initialization (now unused).

Members

Functions

runtimeSection
auto runtimeSection(F functionOrDelegateThatCanBeGC)

"RUNTIME SECTION" A function or method that can _use_ the runtime thanks to thread attachment.

Structs

ScopedForeignCallback
struct ScopedForeignCallback(bool dummyDeprecated, bool saveRestoreFPU)

RAII struct to cover extern callbacks. This only deals with CPU identification and FPU control words save/restore.

ScopedRuntime
struct ScopedRuntime

RAII struct for runtime initialization, to be used once by the plug-in client. Without underlying ScopedRuntime, there can be no runtimeSection.

Meta