ext/iv/phonic/encoding.h in iv-phonic-0.0.5 vs ext/iv/phonic/encoding.h in iv-phonic-0.0.6
- old
+ new
@@ -1,9 +1,11 @@
#ifndef _IV_PHONIC_ENCODING_H_
#define _IV_PHONIC_ENCODING_H_
+extern "C" {
#include <ruby.h>
#include <ruby/encoding.h>
#include <ruby/intern.h>
+}
namespace iv {
namespace phonic {
static VALUE CEncoding_UTF_8;
static VALUE CEncoding_UTF_16BE;