> home > Custom Layer Boundary API

managed_scope_clear_contents

January 19th 2020
Clear everything allocated inside a given scope without destroying the scope itself

Signature

C++
b32
managed_scope_clear_contents(Application_Links* app,
                             Managed_Scope scope);

Parameters

app

the standard custom layer context pointer

scope

the id of the scope to clear

Return

non-zero if the scope exists, zero otherwise