summaryrefslogtreecommitdiff
path: root/source/slang/slang-capability.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-07-24 11:44:13 -0700
committerGitHub <noreply@github.com>2024-07-24 11:44:13 -0700
commit657213f13d49f0d2caaa8b64c1245ec8c75fc4d7 (patch)
tree02f2a6dca56ea384c88095e75b24691d5253d204 /source/slang/slang-capability.h
parenta1607f802ae0a42ffafd2c37d76779873264d371 (diff)
Cleanup global memory allocations on shutdown. (#4731)
Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-capability.h')
-rw-r--r--source/slang/slang-capability.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-capability.h b/source/slang/slang-capability.h
index 299e956e4..79b1f7068 100644
--- a/source/slang/slang-capability.h
+++ b/source/slang/slang-capability.h
@@ -371,6 +371,8 @@ const CapabilityAtomSet& getAtomSetOfStages();
bool hasTargetAtom(const CapabilityAtomSet& setIn, CapabilityAtom& targetAtom);
+void freeCapabilityDefs();
+
//#define UNIT_TEST_CAPABILITIES
#ifdef UNIT_TEST_CAPABILITIES
void TEST_CapabilitySet();