summaryrefslogtreecommitdiff
path: root/doc/extension.rdoc
Commit message (Collapse)AuthorAgeFilesLines
* * remove trailing spaces. [ci skip]git2023-03-171-1/+1
|
* Document the declarative marking apiMatt Valentine-House2023-03-171-0/+56
|
* [DOC] Un-capitalize headingsNobuyoshi Nakada2022-12-261-41/+41
|
* [DOC] Update extension.rdocNobuyoshi Nakada2022-12-261-12/+12
| | | | | Refine the uses of word "Data", which were often ambiguous. Also, that word now refers the new class unrelated to `T_DATA`.
* [DOC] mention macros for public headersNobuyoshi Nakada2022-05-041-3/+6
|
* [DOC] Describe append_{c,cpp,ld}flagsv3_2_0_preview1Nobuyoshi Nakada2022-04-031-0/+7
|
* Make the Ractor-safe section more fluentBenoit Daloze2022-01-101-4/+5
|
* Clarify ractor documentation meaning and formatting.Trey Evans2022-01-101-21/+18
|
* Revert "[DOC] Mention RBOOL in extension.rdoc [Feature #13125]"Nobuyoshi Nakada2022-01-091-15/+0
| | | | | This reverts commit 9ad34da47ff7d71446e667897559047ed5635b60, as `RBOOL` is not defined publicly yet.
* Add description of ruby header files to extension.rdocLars Kanis2021-12-161-1/+19
|
* [DOC] Mention RBOOL in extension.rdoc [Feature #13125]Nobuyoshi Nakada2021-12-131-0/+15
|
* [DOC] Stop recommending Qfalse==0 assumption to C extensionsJemma Issroff2021-12-091-1/+3
| | | | | | | Encourage use of RTEST(), direct Qfalse comparison, and remove references to Qfalse == 0 in extension documentation. See [Bug #18397] for detail. [ci skip]
* Fix typofurunkel2021-11-241-1/+1
|
* [DOC] prefer RUBY_DEFAULT_FREE to a magic number [ci skip]Nobuyoshi Nakada2021-08-211-1/+1
|
* [DOC] mention rb_define_alloc_func [ci skip]Nobuyoshi Nakada2021-08-211-13/+15
|
* Fix some typos by spell checkerRyuta Kamizono2021-04-261-1/+1
|
* [Doc] Update regex engine to Onigumo in doc/extension.* [ci skip]Kenichi Kamiya2021-03-271-2/+1
| | | regex.c has been removed in 8e65234086a15f90585bc09cce82dbad2aa647d7
* [DOC] Fix copy+paste mistake [ci skip]Lars Kanis2021-02-231-1/+1
| | | It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
* Improve extension docs, remove deprecated rb_cData [ci skip]Lars Kanis2021-02-221-9/+21
| | | | | | | | | | | | | | 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.
* [DOC] Fix grammar: "is same as" -> "is the same as"Marcus Stollsteimer2021-01-051-2/+2
|
* add about Ractor into extension.rdoc [ci skip]Koichi Sasada2020-12-241-0/+91
|
* Add documentation to "dcompact" callback and "parent" memberLars Kanis2020-08-251-2/+11
|
* Update extension.rdoc for Ruby 3 keyword argument separation [ci skip]Jeremy Evans2020-06-011-26/+0
| | | | This removes the discussion of behavior removed in Ruby 3.
* Add backwards compatibility example macro for rb_eval_cmd_kwd [ci skip]Jeremy Evans2020-02-111-0/+1
|
* Redmine /projects/ruby-trunk is now redirectedTakashi Kokubun2019-12-311-1/+1
| | | | to /projects/ruby-master
* Fixed misspellingsNobuyoshi Nakada2019-12-201-1/+1
| | | | Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
* Remove mention of $SAFE and taint from doc [ci skip]Jeremy Evans2019-11-181-14/+0
|
* Add section to extension.rdoc for backwards compatibility macros [ci skip]Jeremy Evans2019-10-071-0/+42
| | | | | | 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.
* Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removedJeremy Evans2019-10-071-0/+2
| | | | | There is no need for these in Ruby 3.0, and the plan is to remove them.
* Document *_kw functions added to include/ruby/ruby.h [ci skip]Jeremy Evans2019-10-031-6/+107
| | | | | Also documents the non-*_kw functions if they were not already documented.
* [DOC] mention rb_str_modifynobu2019-01-181-0/+8
| | | | | | [ruby-core:91134] [Bug #15543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention rb_gc_register_mark_object [ci skip]nobu2018-12-251-2/+9
| | | | | | [Feature #9894] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension.rdoc: Fix small copy+paste mistakenobu2018-06-101-1/+1
| | | | | | | | [Fix GH-1884] From: Lars Kanis <lars@greiz-reinsdorf.de> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Show rb_data_type_t definition [ci skip]nobu2017-09-261-0/+2
| | | | | | | [Fix GH-1707] Author: hkdnet <hkdnet@users.noreply.github.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix types of function argumentyui-knk2017-08-101-1/+1
| | | | | | | | * 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
* doc/extension.rdoc: start documenting threading and IO APIsnormal2017-07-181-0/+90
| | | | | | | | | 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
* doc/extension.rdoc: update wikipedia link to HTTPSnormal2017-07-121-1/+1
| | | | | | | | 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
* doc/extension.rdoc: rb_str_append grammar fixstomar2017-04-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: rb_str_append [ci skip]nobu2017-04-101-2/+6
| | | | | | | * 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
* extension.rdoc: fix rb_enc_str_new_literalnobu2017-04-101-1/+1
| | | | | | | | | | * doc/extension.rdoc: Add missing enc arg to rb_enc_str_new_literal. [ci skip] [Fix GH-1577] Author: Dylan Thacker-Smith <Dylan.Smith@shopify.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: add document titlekazu2017-02-201-70/+72
| | | | | | | | | | | | | | | * 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 <sto.mar@web.de> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix function name for DBM on extension document.hsbt2017-01-261-1/+1
| | | | | | | Patch by Yuji Yaginuma, @y-yagi <yuuji.yaginuma@gmail.com> [ci skip][fix GH-1519] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* s/SaveStringValue/SafeStringValue/a_matsuda2017-01-151-1/+1
| | | | | | | | | | Fix a typo in extension.rdoc. Signed-off-by: Akira Matsuda <ronnie@dio.jp> closes #1512 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: add ANYARGS to method definitionskazu2016-12-081-9/+9
| | | | | | | | | | | | | * 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 <unseductable@gmail.com> [Fix GH-1473] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* untabify [ci skip]kazu2016-12-061-8/+8
| | | | | | | based on the patch by W <wolf@wolfsden.cz> [Fix GH-1497] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: fix rb_get_kwargs [ci skip]nobu2016-12-041-4/+3
| | | | | | | | * 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
* extension.rdoc: update rb_ensure descriptionnobu2016-11-021-1/+1
| | | | | | | | * 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
* extension.rdoc: update rb_rescue descriptionnobu2016-11-011-4/+5
| | | | | | | | | | | * doc/extension.rdoc: set ANYARGS as arguments for func1 and func2. * doc/extension.rdoc: mention the exception object which is passed to func2 as the second argument. [Fix GH-1471] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension.rdoc: wording fix w.r.t. volatile vs RB_GC_GUARDnormal2016-10-131-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo [ci skip]kazu2016-10-121-1/+1
| | | | | | Replace "You can defined hooked variables" with "You can define hooked variables" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e