Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
23 lines
834 B
C
23 lines
834 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup bmesh
|
|
*/
|
|
|
|
bool BM_elem_cb_check_hflag_enabled(BMElem *, void *user_data);
|
|
bool BM_elem_cb_check_hflag_disabled(BMElem *, void *user_data);
|
|
bool BM_elem_cb_check_hflag_ex(BMElem *, void *user_data);
|
|
bool BM_elem_cb_check_elem_not_equal(BMElem *ele, void *user_data);
|
|
|
|
#define BM_elem_cb_check_hflag_ex_simple(type, hflag_p, hflag_n) \
|
|
(bool (*)(type, void *)) BM_elem_cb_check_hflag_ex, \
|
|
POINTER_FROM_UINT(((hflag_p) | (hflag_n << 8)))
|
|
|
|
#define BM_elem_cb_check_hflag_enabled_simple(type, hflag_p) \
|
|
(bool (*)(type, void *)) BM_elem_cb_check_hflag_enabled, POINTER_FROM_UINT((hflag_p))
|
|
|
|
#define BM_elem_cb_check_hflag_disabled_simple(type, hflag_n) \
|
|
(bool (*)(type, void *)) BM_elem_cb_check_hflag_disabled, POINTER_FROM_UINT(hflag_n)
|