The OpenD Programming Language

mir.rc.context

Thread-safe reference-counted context implementation

.

Members

Functions

mir_rc_create
mir_rc_context* mir_rc_create(immutable(mir_type_info) typeInfo, size_t length, void* payload, bool initialize, bool deallocate)
mir_rc_decrease_counter
void mir_rc_decrease_counter(mir_rc_context context)

Decrease counter by 1. Destroys data if counter decreased from 1 to 0.

mir_rc_delete
void mir_rc_delete(mir_rc_context context)
mir_rc_increase_counter
void mir_rc_increase_counter(mir_rc_context context)

Increase counter by 1.

Mixin templates

CommonRCImpl
mixintemplate CommonRCImpl()

Structs

mir_rc_context
struct mir_rc_context

Meta