Age | Commit message (Collapse) | Author |
|
Instead of `RUBY_REFERENCES_START` and `RUBY_REFERENCES_END`, so that
auto-indent works well.
|
|
Also move `struct` so that `typedef`-ed names can be used.
|
|
- RDoc is not markdown, use `+` and `_` for code and variables
respectively, instead of backquotes.
- Remove useless backslashes.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7153
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7027
|
|
Refine the uses of word "Data", which were often ambiguous. Also,
that word now refers the new class unrelated to `T_DATA`.
Notes:
Merged: https://github.com/ruby/ruby/pull/7027
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5421
|
|
This reverts commit 9ad34da47ff7d71446e667897559047ed5635b60, as
`RBOOL` is not defined publicly yet.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4882
|
|
|
|
Encourage use of RTEST(), direct Qfalse comparison, and remove references to
Qfalse == 0 in extension documentation.
See [Bug #18397] for detail.
[ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/5230
Merged-By: XrXr
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5107
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4414
|
|
regex.c has been removed in 8e65234086a15f90585bc09cce82dbad2aa647d7
Notes:
Merged: https://github.com/ruby/ruby/pull/4306
Merged-By: nobu <[email protected]>
|
|
It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
Notes:
Merged: https://github.com/ruby/ruby/pull/4211
|
|
rb_cData is deprecated and the characteristic alloc_func was already
removed in ruby-3.0. So this updates the recommendation accordingly.
It also adds fdbm_alloc() in order to show the allocation process
and to gives TypedData_Make_Struct() more context.
Moreover it describes fdbm_aref(), so that the relation to
rb_define_method() is shown.
And fdbm_aref() makes use of GetDBM() now, to show how this macro
might be used.
Notes:
Merged: https://github.com/ruby/ruby/pull/4208
Merged-By: nobu <[email protected]>
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3396
|
|
This removes the discussion of behavior removed in Ruby 3.
|
|
|
|
to /projects/ruby-master
|
|
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
|
|
These macros should make it easier to C extensions to switch to
the Ruby 2.7 C-API *_kw functions, but still have the code work
correctly on older Ruby versions.
|
|
There is no need for these in Ruby 3.0, and the plan is to
remove them.
|
|
Also documents the non-*_kw functions if they were not already
documented.
|
|
[ruby-core:91134] [Bug #15543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[Feature #9894]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[Fix GH-1884]
From: Lars Kanis <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[Fix GH-1707]
Author: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.ja.rdoc: Fix types of rb_ary_aref argument
* doc/extension.rdoc: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
This will hopefully be useful for folks writing C extensions.
* doc/extension.rdoc: start documenting threading and IO APIs
[ruby-core:82016] [Feature #13740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
Avoid the latency for HTTP -> HTTPS redirect
* doc/extension.rdoc: update wikipedia link to HTTPS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.rdoc: add rb_str_append and fix equivalent for
rb_str_catf and rb_str_vcatf from rb_str_cat2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.rdoc: Add missing enc arg to rb_enc_str_new_literal.
[ci skip]
[Fix GH-1577]
Author: Dylan Thacker-Smith <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.rdoc, doc/extension.ja.rdoc: [DOC]
add title and adapt subheading levels.
* doc/extension.rdoc: [DOC] fix subheading level of section
about "Ruby Constants That Can Be Accessed From C".
* doc/extension.ja.rdoc: [DOC] add missing subheading.
[ruby-core:79590] [Bug #13229]
Author: Marcus Stollsteimer <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
Patch by Yuji Yaginuma, @y-yagi <[email protected]>
[ci skip][fix GH-1519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
Fix a typo in extension.rdoc.
Signed-off-by: Akira Matsuda <[email protected]>
closes #1512
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.rdoc (rb_define_method, rb_define_singleton_method,
rb_define_private_method, rb_define_protected_method,
rb_define_module_function, rb_define_global_function): set ANYARGS
as arguments to their underlying functions.
[ci skip]
Patch by: Dmitry Gritsay <[email protected]>
[Fix GH-1473]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
based on the patch by W <[email protected]>
[Fix GH-1497]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.rdoc: [DOC] optional keyword arguments are
defaulted to Qundef. ignored keys are kept in the hash but a
new Hash is not created. [ruby-dev:49893] [Bug #13004]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|