Skip to content

Commit

Permalink
Fixes ibus_keyval_name method in c++ binding
Browse files Browse the repository at this point in the history
Add G_BEGIN_DECLS and G_END_DECLS macros in src/ibuskeys.h

BUG=

Review URL: https://codereview.appspot.com/185850043
Patch from Peng Wu <alexepico@gmail.com>.
  • Loading branch information
epico authored and fujiwarat committed Dec 5, 2014
1 parent a7abce6 commit f69ddc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ibuskeys.h
Expand Up @@ -29,6 +29,7 @@

#include <glib.h>

G_BEGIN_DECLS
/**
* ibus_keyval_name:
* @keyval: Key symbol.
Expand Down Expand Up @@ -73,4 +74,5 @@ guint ibus_unicode_to_keyval (gunichar wc);
**/
gunichar ibus_keyval_to_unicode (guint keyval);

G_END_DECLS
#endif // __IBUS_KEYS_H_

0 comments on commit f69ddc3

Please sign in to comment.