This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/functions/FN_multi_function_context.hh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
683 B
C++
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
/** \file
* \ingroup fn
*
* An #Context is passed along with every call to a multi-function. Right now it does nothing,
2020-06-25 23:13:02 +10:00
* but it can be used for the following purposes:
* - Pass debug information up and down the function call stack.
2020-06-25 23:13:02 +10:00
* - Pass reusable memory buffers to sub-functions to increase performance.
* - Pass cached data to called functions.
*/
2020-06-23 12:23:31 +02:00
#include "BLI_utildefines.h"
#include "BLI_map.hh"
namespace blender::fn::multi_function {
class Context;
class ContextBuilder {
};
class Context {
public:
Context(ContextBuilder & /*builder*/)
{
}
};
} // namespace blender::fn::multi_function