1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/json/parser/extconf.rb
nagachika 4fe4f46592 merge revision(s) 50339,50340,50342,50343: [Backport #10705]
parser.rl: use StringValue

	* ext/json/parser/parser.rl (cParser_initialize): use StringValue
  instead of direct rb_convert_type and remove duplicate
  conversion.
	* ext/json/parser/parser.rl: raise with messages in UTF-8
	  encoding.  [ruby-core:67386] [Bug #10705]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-14 06:20:41 +00:00

5 lines
87 B
Ruby

require 'mkmf'
have_func("rb_enc_raise", "ruby.h")
create_makefile 'json/ext/parser'