Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly spec rb_str_new_cstr as 1.9-only CAPI #1791

Merged
merged 1 commit into from Jul 2, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions spec/ruby/optional/capi/ext/mri.h
Expand Up @@ -18,12 +18,10 @@
#undef HAVE_RBIGNUM_POSITIVE_P
#undef HAVE_RBIGNUM_NEGATIVE_P
#undef HAVE_RB_STR_SET_LEN
#undef HAVE_RB_STR_NEW_CSTR
#endif

#ifdef RUBY_VERSION_IS_1_8_EX_1_9
#undef HAVE_RB_THREAD_BLOCKING_REGION
#undef HAVE_RB_STR_NEW_CSTR
#undef HAVE_RB_RATIONAL
#undef HAVE_RB_RATIONAL1
#undef HAVE_RB_RATIONAL2
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby/optional/capi/ext/rubyspec.h
Expand Up @@ -199,6 +199,7 @@
#define HAVE_RB_ENC_TO_INDEX 1
#define HAVE_RB_OBJ_ENCODING 1

#define HAVE_RB_STR_NEW_CSTR 1
#define HAVE_RB_USASCII_STR_NEW 1
#define HAVE_RB_USASCII_STR_NEW_CSTR 1
#define HAVE_RB_EXTERNAL_STR_NEW 1
Expand Down Expand Up @@ -432,7 +433,6 @@
#define HAVE_RB_STR_INTERN 1
#define HAVE_RB_STR_LEN 1
#define HAVE_RB_STR_NEW 1
#define HAVE_RB_STR_NEW_CSTR 1
#define HAVE_RB_STR_NEW2 1
#define HAVE_RB_STR_NEW3 1
#define HAVE_RB_STR_NEW4 1
Expand Down