diff options
author | Peng Wu <alexepico@gmail.com> | 2018-06-13 15:00:01 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-06-13 15:00:01 +0800 |
commit | 654173627c7d973dacd3ab874b05e3d4d722f507 (patch) | |
tree | 32024a60339473df9630424dbde8dbbb0429b5e8 | |
parent | f8f84eb3d12c1913fa342871cf1a6568ac3a75c0 (diff) | |
download | ibus-libpinyin-654173627c7d973dacd3ab874b05e3d4d722f507.tar.gz ibus-libpinyin-654173627c7d973dacd3ab874b05e3d4d722f507.tar.xz ibus-libpinyin-654173627c7d973dacd3ab874b05e3d4d722f507.zip |
update PYExtEditor.*
-rw-r--r-- | src/PYExtEditor.cc | 5 | ||||
-rw-r--r-- | src/PYExtEditor.h | 7 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc index a7f08fb..9a34f51 100644 --- a/src/PYExtEditor.cc +++ b/src/PYExtEditor.cc @@ -18,13 +18,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + #include <cstring> #include <string> -extern "C" { -#include "lua-plugin.h" -} - #include "PYConfig.h" #include "PYPointer.h" #include "PYLookupTable.h" diff --git a/src/PYExtEditor.h b/src/PYExtEditor.h index cef967f..746b288 100644 --- a/src/PYExtEditor.h +++ b/src/PYExtEditor.h @@ -21,10 +21,9 @@ #ifndef __PY_EXT_EDITOR_ #define __PY_EXT_EDITOR_ -#include <glib.h> - -typedef struct _IBusEnginePlugin IBusEnginePlugin; -typedef struct _lua_command_candidate_t lua_command_candidate_t; +extern "C" { +#include "lua-plugin.h" +} namespace PY { |