Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-11-13 23:16:15 +0300
committerHans Goudey <h.goudey@me.com>2022-11-13 23:16:24 +0300
commit3eb2bc2c3fd1170b0bfe8f96db3a285aff9759d2 (patch)
treebc6178c92aa29b6aae8500bbe88f8300f2ab0290 /source/blender/gpencil_modifiers/MOD_gpencil_lineart.h
parentfba7461e1a51643ea4762f2dc5d4811b49cedbef (diff)
Cleanup: Move lineart_cpu.c to C++
To enable further mesh data structure refactoring-- access to loose edges in particular.
Diffstat (limited to 'source/blender/gpencil_modifiers/MOD_gpencil_lineart.h')
-rw-r--r--source/blender/gpencil_modifiers/MOD_gpencil_lineart.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/MOD_gpencil_lineart.h b/source/blender/gpencil_modifiers/MOD_gpencil_lineart.h
index 713f070de77..0c284f8e540 100644
--- a/source/blender/gpencil_modifiers/MOD_gpencil_lineart.h
+++ b/source/blender/gpencil_modifiers/MOD_gpencil_lineart.h
@@ -10,6 +10,10 @@
/* Operator types should be in exposed header. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void OBJECT_OT_lineart_bake_strokes(struct wmOperatorType *ot);
void OBJECT_OT_lineart_bake_strokes_all(struct wmOperatorType *ot);
void OBJECT_OT_lineart_clear(struct wmOperatorType *ot);
@@ -20,3 +24,7 @@ void WM_operatortypes_lineart(void);
struct LineartCache;
void MOD_lineart_clear_cache(struct LineartCache **lc);
+
+#ifdef __cplusplus
+}
+#endif