Commit e8a14dee authored by Ell's avatar Ell

app: switch gimppaintcore-loops.c to C++

Ditto.
parent c8d4c079
...@@ -60,7 +60,7 @@ libapppaint_a_sources = \ ...@@ -60,7 +60,7 @@ libapppaint_a_sources = \
gimpmybrushsurface.h \ gimpmybrushsurface.h \
gimppaintcore.c \ gimppaintcore.c \
gimppaintcore.h \ gimppaintcore.h \
gimppaintcore-loops.c \ gimppaintcore-loops.cc \
gimppaintcore-loops.h \ gimppaintcore-loops.h \
gimppaintcore-stroke.c \ gimppaintcore-stroke.c \
gimppaintcore-stroke.h \ gimppaintcore-stroke.h \
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
#include <gegl.h> #include <gegl.h>
#include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf.h>
extern "C"
{
#include "paint-types.h" #include "paint-types.h"
#include "operations/layer-modes/gimp-layer-modes.h" #include "operations/layer-modes/gimp-layer-modes.h"
...@@ -436,3 +439,5 @@ mask_components_onto (GeglBuffer *src_buffer, ...@@ -436,3 +439,5 @@ mask_components_onto (GeglBuffer *src_buffer,
} }
} }
} }
} /* extern "C" */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment