nobu
97c1f8cace
README.EXT, README.EXT.ja: mention about PRIsVALUE [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-03 07:12:37 +00:00
zzak
d5526c660d
* README.EXT: [DOC] fix example missing typedef with patch by
...
@steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739
* README.EXT.jp: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-12 23:45:48 +00:00
nobu
eb0e3fe78f
intern.h: rb_str_new_literal
...
* include/ruby/intern.h (rb_str_new_literal): make ruby string
from literal C-string. incorporated from mruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-19 05:53:05 +00:00
nobu
990845662c
README.EXT: utf-8 string functions
...
* README.EXT (String Functions): rb_utf8_str_new() and
rb_utf8_str_new_cstr().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-19 04:55:21 +00:00
normal
ee4acc36aa
README.EXT: preliminary documentation for RB_GC_GUARD
...
[Bug #10100 ] [ruby-core:60741]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-14 20:55:27 +00:00
nobu
d0987afc74
make symbol conversion functions public
...
* include/ruby/encoding.h (rb_check_symbol_cstr): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-03 01:55:10 +00:00
zzak
61bc5c34e9
* README.EXT: [DOC] Add rb_call_super when subclassing from @robin850
...
[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
2014-06-02 16:38:31 +00:00
nobu
398abd204d
fix typo
...
* NEWS, README.EXT: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-18 15:11:35 +00:00
nobu
95013cd5c0
README.EXT: about string termination
...
* 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
2014-04-18 12:42:04 +00:00
nobu
37dffb599d
string.c: rb_str_cat_cstr
...
* 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
2014-04-17 05:22:57 +00:00
hsbt
4192341ef1
* README.EXT: fix typo.
...
[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
2014-04-01 08:58:59 +00:00
nobu
af59443ab6
README.EXT{,.ja}: update ruby_options and ruby_run_node
...
* 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
2014-03-11 01:55:15 +00:00
normal
fd61a78303
use do/while(0) around GetDBM macros
...
* 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
2014-03-02 22:50:31 +00:00
zzak
f9466a02cd
Revert r45239 [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 03:33:55 +00:00
zzak
44363557ac
* README.EXT: [DOC] Remove needless char
...
* README.EXT.ja: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 01:57:42 +00:00
ko1
777cd24ebb
* README.EXT: add a refer to URL.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24 05:13:43 +00:00
nobu
474e5bd0de
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24 05:01:05 +00:00
ko1
215c40b813
* README.EXT: add a document about RGenGC.
...
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
2013-12-24 05:00:37 +00:00
ko1
9215982a1f
* README.EXT, README.EXT.ja: remove description of RARRAY_PTR()
...
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
2013-09-25 08:44:09 +00:00
nobu
5669902126
string.c: rb_enc_str_new_cstr
...
* 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
2013-09-03 13:03:54 +00:00
akr
3cd16b43eb
* README.EXT, README.EXT.ja: Mention rb_integer_pack and
...
rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-03 22:15:26 +00:00
knu
2a23bd6202
Add Appendix C containing a pointer to mkmf.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-12 08:48:01 +00:00
nobu
0544c09761
vm_eval.c: new names of rb_funcall family
...
* 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
2013-05-31 08:27:06 +00:00
nobu
97498d179e
* README.EXT: refine a sentence. thanks to Leonard Chin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-31 08:27:01 +00:00
nobu
1c5cdc62cc
array.c: new names of rb_ary_new family
...
* 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
2013-05-31 08:04:56 +00:00
nobu
8ea0e6f1fd
README.EXT: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-31 06:18:08 +00:00
ktsj
edb98f8b91
fix typos. Patch by k_takata.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:10:21 +00:00
nobu
66c0e01220
README.EXT: update note
...
* 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
2013-04-28 03:38:27 +00:00
zzak
e731627526
* README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-28 00:42:10 +00:00
zzak
e781aeef96
* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-27 23:11:19 +00:00
zzak
817dda53ed
* README.EXT: Add note to warn use of %i in Exceptions [Bug #7982 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-27 23:04:12 +00:00
drbrain
56fca7f141
* README.EXT: Converted to RDoc format
...
* README.EXT.ja: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 23:34:17 +00:00
kou
7b036a8ea7
* README.EXT, README.EXT.ja: use "sval" for the third argument
...
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
2012-06-22 09:52:32 +00:00
drbrain
5b2df41b35
* README.EXT (prepare extconf.rb): Added note to see MakeMakefile for
...
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
2012-06-08 23:21:50 +00:00
nobu
db5265a82c
* parse.y (rb_check_id_cstr): new function to check if ID is
...
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
2012-04-11 13:31:23 +00:00
nobu
e78ff08968
* array.c (rb_ary_cat): new function to concat objects into array.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-08 15:25:04 +00:00
nobu
e187c4ca1f
* README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-24 06:28:26 +00:00
nobu
3772335ae6
* README.EXT, README.EXT.ja (rb_protect): add a note when ignoring the caught exception.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 12:47:06 +00:00
nobu
a0146d1e87
* lib/mkmf.rb (checking_for): should not modify the result.
...
* 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
2011-11-13 14:46:01 +00:00
nobu
4705fcc3c0
* README.EXT, README.EXT.ja (2.2.2), parse.y (rb_check_id): add
...
documents for rb_check_id().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-12 04:38:15 +00:00
kazu
a6e30a8714
* README*: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-25 21:00:03 +00:00
shyouhei
79fdc67835
* README.EXT: fix typo. Patch by William Blackerby.
...
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
2011-05-13 09:59:16 +00:00
mrkn
74535bd643
* README.EXT, README.EXT.ja: You shouldn't choose ``conftest.c'' as a
...
name of a source file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-20 07:13:58 +00:00
knu
82abe79b9f
* class.c (rb_scan_args): Add support for optional keyword
...
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
2010-09-10 07:51:58 +00:00
nobu
3a32ef53aa
* README.EXT, README.EXT.ja (String functions): mention
...
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
2010-08-05 11:14:05 +00:00
drbrain
3befc304b5
Fix signature of rb_ensure and rb_rescue to match the implementation in README.EXT
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-21 18:03:34 +00:00
nobu
c6820cc3be
* README.EXT{,.ja} (rb_block_call): fixed about third/fourth
...
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
2010-07-11 12:20:28 +00:00
naruse
b7a59cd178
Add more description about Fixnum's size. [ruby-core:27333]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 11:45:32 +00:00
ko1
554e9a83e0
* blockinlining.c: removed.
...
* README.EXT: ditto.
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 06:03:39 +00:00
nobu
43be7b67c8
* README.EXT, README.EXT.ja (rb_protect, rb_jump_tag): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 01:14:56 +00:00