summaryrefslogtreecommitdiff
path: root/README.EXT
Commit message (Collapse)AuthorAgeFilesLines
* * README.EXT: [DOC] Add rb_call_super when subclassing from @robin850zzak2014-06-021-0/+5
| | | | | | | [Fixes GH-623] https://github.com/ruby/ruby/pull/623 [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typonobu2014-04-181-3/+3
| | | | | | * NEWS, README.EXT: fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT: about string terminationnobu2014-04-181-0/+10
| | | | | | | * README.EXT (Appendix B): add RSTRING_PTR and RSTRING_LEN. and NULL-termination by StringValueCStr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_str_cat_cstrnobu2014-04-171-0/+1
| | | | | | | | * string.c (rb_str_cat): make non-buf version main. * string.c (rb_str_cat_cstr): rename from rb_str_cat2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: fix typo.hsbt2014-04-011-1/+1
| | | | | | | | [ruby-core:61634] [Bug #9662] * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT{,.ja}: update ruby_options and ruby_run_nodenobu2014-03-111-3/+8
| | | | | | | | * README.EXT{,.ja} (Appendix B): update contents of `ruby_options` and replace `ruby_run` with `ruby_run_node`. based on the patch by Kaneko Yuichiro at [ruby-dev:48030] [Bug #9619]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use do/while(0) around GetDBM macrosnormal2014-03-021-2/+2
| | | | | | | | | | | | | * README.EXT: wrap GetDBM with do/while(0) * README.EXT.ja: ditto * ext/dbm/dbm.c: ditto, likewise for GetDBM2 * ext/gdbm/gdbm.c: ditto * ext/sdbm/init.c: ditto [ruby-core:61217] ref: http://c-faq.com/cpp/multistmt.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r45239 [ci skip]zzak2014-03-021-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: [DOC] Remove needless charzzak2014-03-021-3/+3
| | | | | | | * README.EXT.ja: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: add a refer to URL.ko12013-12-241-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-12-241-37/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: add a document about RGenGC.ko12013-12-241-0/+97
| | | | | | | | | | Reviewed by havenwood. [misc #8962] * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: remove description of RARRAY_PTR()ko12013-09-251-3/+10
| | | | | | | | | | and add a caution of accessing internal data structure directly. Also add a description of rb_ary_store(). [Bug #8399] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_enc_str_new_cstrnobu2013-09-031-0/+1
| | | | | | | * string.c (rb_enc_str_new_cstr): new function to create a string from the C-string pointer with the specified encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: Mention rb_integer_pack andakr2013-08-031-0/+4
| | | | | | | | rb_integer_unpack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Appendix C containing a pointer to mkmf.knu2013-06-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: new names of rb_funcall familynobu2013-05-311-0/+8
| | | | | | | * vm_eval.c (rb_funcallv): add better names of rb_funcall2. * vm_eval.c (rb_funcallv_public): ditto for rb_funcall3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: refine a sentence. thanks to Leonard Chin.nobu2013-05-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: new names of rb_ary_new familynobu2013-05-311-0/+3
| | | | | | | | * array.c (rb_ary_new_capa): add better names of rb_ary_new2. * array.c (rb_ary_new_from_args): ditto for rb_ary_new3. * array.c (rb_ary_new_from_values): ditto for rb_ary_new4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT: fix typonobu2013-05-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos. Patch by k_takata.ktsj2013-05-191-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT: update notenobu2013-04-281-4/+6
| | | | | | | * README.EXT: correct method name to be used. [Bug #7982] * README.EXT.ja: add notes too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]zzak2013-04-281-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]zzak2013-04-271-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]zzak2013-04-271-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Converted to RDoc formatdrbrain2012-12-031-558/+606
| | | | | | | * README.EXT.ja: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: use "sval" for the third argumentkou2012-06-221-1/+1
| | | | | | | | name of Data_Wrap_Struct(). Suggested by @satoh_fumiyasu. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT (prepare extconf.rb): Added note to see MakeMakefile fordrbrain2012-06-081-101/+4
| | | | | | | | | | | | documentation of extconf.rb functions. Patch by Zachary Scott. [ruby-trunk - Feature #6522] * README.EXT (Appendix C): Removed in favor of MakeMakefile. Patch by Zachary Scott. * lib/mkmf.rb: Merged documentation from README.EXT Appendix C. Patch by Zachary Scott. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_check_id_cstr): new function to check if ID isnobu2012-04-111-1/+3
| | | | | | | registered with NUL-terminated C string. * sprintf.c (rb_str_format): avoid inadvertent symbol creation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_cat): new function to concat objects into array.nobu2012-03-081-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().nobu2012-01-241-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja (rb_protect): add a note when ignoring the ↵nobu2012-01-141-0/+2
| | | | | | caught exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (checking_for): should not modify the result.nobu2011-11-131-10/+28
| | | | | | | | * lib/mkmf.rb (have_struct_member): accept compiler opttions. * lib/mkmf.rb (convertible_int): add restricted support of struct member, and TYPEOF_ macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja (2.2.2), parse.y (rb_check_id): addnobu2011-09-121-0/+8
| | | | | | documents for rb_check_id(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README*: remove trailing spaces.kazu2011-08-251-19/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: fix typo. Patch by William Blackerby.shyouhei2011-05-131-1/+1
| | | | | | | | | https://github.com/ruby/ruby/pull/19 * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: You shouldn't choose ``conftest.c'' as amrkn2011-01-201-0/+3
| | | | | | name of a source file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_scan_args): Add support for optional keywordknu2010-09-101-3/+16
| | | | | | | | | | | | | | | | | | | | argument hash. * README.EXT, README.EXT.ja: Update documentation accordingly. * dir.c (dir_initialize): Make use of the new rb_scan_args() feature. * io.c (rb_io_s_popen, rb_scan_open_args, rb_io_initialize) (rb_io_s_pipe, open_key_args, io_s_foreach, io_s_readlines) (rb_io_s_read, rb_io_set_encoding): Ditto. * transcode.c (str_transcode, econv_args) (econv_primitive_convert): Ditto. * ext/zlib/zlib.c (rb_gzreader_initialize): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja (String functions): mentionnobu2010-08-051-0/+17
| | | | | | | rb_str_resize and rb_str_set_len. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix signature of rb_ensure and rb_rescue to match the implementation in ↵drbrain2010-07-211-2/+2
| | | | | | README.EXT git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT{,.ja} (rb_block_call): fixed about third/fourthnobu2010-07-111-3/+7
| | | | | | | | arguments to the block. based on [ruby-core:31192] by Asher Haig. [Bug #3558] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add more description about Fixnum's size. [ruby-core:27333]naruse2009-12-301-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * blockinlining.c: removed.ko12009-09-171-1/+0
| | | | | | | | | * README.EXT: ditto. * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja (rb_protect, rb_jump_tag): added.nobu2009-09-161-1/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.ext: fine tuningmarcandre2009-09-151-10/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (yielder_yield_i): use rb_proc_new instead ofmame2009-07-131-1/+12
| | | | | | | | | | | | rb_iterate. [ruby-dev:38518] * README.EXT: rb_iterate is obsolete since 1.9; use rb_block_call instead. * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: typo fixed.nobu2009-06-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RB_EVENT_HOOKS_HAVE_CALLBACK_DATA):nobu2009-05-211-2/+11
| | | | | | | new macro for compatibility check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe more conversion functions between integer and VALUE.akr2009-05-091-6/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja (Macros): added HAVE_RUBY_*_H.nobu2009-03-021-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e