Sha256: 3874eb3e059f1c311921b6b577d4630f5ac0e16ae7a3779de082a22314abf877

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true
require 'mkmf'

have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
have_func("rb_category_warn", "ruby.h") # Missing on TruffleRuby

append_cflags("-std=c99")

create_makefile 'json/ext/parser'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json-2.9.0 ext/json/ext/parser/extconf.rb