Files
test/source/blender/nodes/function/node_function_util.hh
Iliya Katueshenock f7388e3be5 Cleanup: Move BKE_node.h to C++
See: https://projects.blender.org/blender/blender/issues/103343

Changes:
1. Added `BKE_node.hh` file. New file includes old one.
2. Functions moved to new file. Redundant `(void)`, `struct` are removed.
3. All cpp includes replaced from `.h` on `.hh`.
4. Everything in `BKE_node.hh` is on `blender::bke` namespace.
5. All implementation functions moved in namespace.
6. Function names (`BKE_node_*`) changed to `blender::bke::node_*`.
7. `eNodeSizePreset` now is a class, with renamed items.

Pull Request: https://projects.blender.org/blender/blender/pulls/107790
2023-05-15 15:14:22 +02:00

29 lines
549 B
C++

/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include <string.h>
#include "BLI_math_vector.hh"
#include "BLI_utildefines.h"
#include "MEM_guardedalloc.h"
#include "DNA_node_types.h"
#include "BKE_node.hh"
#include "BLT_translation.h"
#include "NOD_multi_function.hh"
#include "NOD_socket_declarations.hh"
#include "node_function_register.hh"
#include "node_util.hh"
#include "FN_multi_function_builder.hh"
#include "RNA_access.h"
void fn_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass);