diff options
author | Jacques Lucke <jacques@blender.org> | 2021-04-24 18:00:19 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-04-24 18:00:37 +0300 |
commit | 9cce18a5858cb93da626f5f0fd7e09cd66637e05 (patch) | |
tree | f8f14810168405e984c263e05381e77afac869ef /source/blender/editors/space_info/textview.h | |
parent | 82328797cfcb5bbe543e4eeec4623504bfd9ff0c (diff) |
Info Editor: move to c++
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 |