diff options
author | Jacques Lucke <jacques@blender.org> | 2021-04-24 17:06:01 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-04-24 17:06:01 +0300 |
commit | 042524c1f19717ac8c5787479fcdf60a6d156b23 (patch) | |
tree | f4c9450d778eb3185c68d09f7a8355bdf441798d /source/blender/editors/space_info/textview.h | |
parent | 8adeac7c27936d61d12229ac7d30ea84b7653940 (diff) |
Info Editor: move to c++info-editor-cpp
I'm currently doing some experiments in the info editor and
for that it is easier if the info editor is in c++ already.
Diffstat (limited to 'source/blender/editors/space_info/textview.h')
-rw-r--r-- | source/blender/editors/space_info/textview.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_info/textview.h b/source/blender/editors/space_info/textview.h index 7520dbce191..e547f0c2cba 100644 --- a/source/blender/editors/space_info/textview.h +++ b/source/blender/editors/space_info/textview.h @@ -20,6 +20,10 @@ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + enum eTextViewContext_LineFlag { TVC_LINE_FG = (1 << 0), TVC_LINE_BG = (1 << 1), @@ -78,3 +82,7 @@ int textview_draw(struct TextViewContext *tvc, const int mval_init[2], void **r_mval_pick_item, int *r_mval_pick_offset); + +#ifdef __cplusplus +} +#endif |