diff options
author | Jacques Lucke <jacques@blender.org> | 2022-03-02 14:51:21 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-03-02 14:51:21 +0300 |
commit | c23ec04b4e30f300a670f1cb1dc882e0608d09ad (patch) | |
tree | fbc914a9ccc72a03c894ec91b5c3a16e3537d04c /source/blender/imbuf/intern/rasterizer_test.cc | |
parent | 721335553ccb5ce4f7a374b958b7d65befa319df (diff) |
BLI: add scoped-defer utility to add RAII-like behavior to C types
This utility is useful when using C types that own some resource in
a C++ file. It mainly helps in functions that have multiple return
statements, but also simplifies code by moving construction and
destruction closer together.
Differential Revision: https://developer.blender.org/D14215
Diffstat (limited to 'source/blender/imbuf/intern/rasterizer_test.cc')
0 files changed, 0 insertions, 0 deletions