summaryrefslogtreecommitdiff
path: root/doc/extension.rdoc
Commit message (Collapse)AuthorAgeFilesLines
* [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
* gc.c: rb_gc_adjust_memory_usagenobu2016-09-201-0/+12
| | | | | | | * gc.c (rb_gc_adjust_memory_usage): notify memory usage to the GC engine by extension libraries, to trigger GC. [Feature #12690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: rb_check_arity [ci skip]nobu2016-09-101-0/+9
| | | | | | * doc/extension.rdoc (rb_check_arity): described. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix file names [ci skip]nobu2016-09-091-1/+1
| | | | | | | * doc/extension.rdoc, doc/extension.ja.rdoc: fix file name. pointed out by @takkanm in the RubyKaigi talk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: RB_{INTEGER,FLOAT}_TYPE_P [ci skip]nobu2016-05-181-0/+8
| | | | | | | * doc/extension.rdoc, doc/extension.rdoc (Checking Data Types): [DOC] mention RB_INTEGER_TYPE_P and RB_FLOAT_TYPE_P. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension.rdoc: RB_TYPE_P [ci skip]nobu2016-05-181-0/+4
| | | | | | | * doc/extension.rdoc, doc/extension.rdoc (Checking Data Types): [DOC] mention RB_TYPE_P. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/extension.rdoc: Improvements to english grammers.hsbt2016-04-251-24/+24
| | | | | | [Bug #12246][ruby-core:74792][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extension*.rdoc: fix errors [ci skip]nobu2016-03-301-9/+9
| | | | | | | | | | * extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors. Renamed files, wrong method names or argument types; the example GetDBM macro is now updated to the current version of the actual code. patch by Marcus Stollsteimer in [ruby-core:74690]. [Bug #12228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.hsbt2016-03-151-63/+65
| | | | | | | [ci skip][Bug #12143][ruby-core:74143] * doc/extension.rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc: editor local variables [ci skip]nobu2016-02-261-0/+4
| | | | | | | | * doc/extension.rdoc, doc/extension.ja.rdoc: add editor local variables, with commenting out by :enddoc: directives which are just ignored unless code object mode. [Bug #12111] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/extension.ja.rdoc: removed rendering error caused by editor specifichsbt2016-02-261-6/+0
| | | | | | | configuration on http://docs.ruby-lang.org/en/trunk/extension_rdoc.html . [Bug #12111][ruby-core:73990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension.rdoc: update paths for defs/ directorynormal2016-02-201-9/+9
| | | | | | These files were moved in r19844 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* `nul` should be uppercase [ci skip]nobu2015-12-271-4/+4
| | | | | | | * doc/extension.rdoc: [DOC] `nul` should be uppercase. change 'nul' => 'NUL'. [Fix GH-1172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo [ci skip]nobu2015-12-151-1/+1
| | | | | | * doc/extension.rdoc: [DOC] fix double-word typo. [Fix GH-1153] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension.rdoc: warn about kwargs performance in C [ci skip]normal2015-12-071-0/+5
| | | | | | | | | | This existing API seems doomed performance-wise, and writing things in Ruby is nicer anyways. So discourage folks from using it. [Feature #11339] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension.rdoc: note rb_get_kwargs changes keywords_hash [ci skip]normal2015-06-041-1/+2
| | | | | | [ruby-core:68507] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2015-04-141-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/extension.ja.rdoc: Added description of TypedData_XXX.yugui2015-04-141-21/+114
| | | | | | | | | | Deprecated the old DATA_XXX. Reviewed by ko1 and nobu. Fixes [ruby-dev:40881] #3064 * doc/extension.rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension*: Fix spelling of filenamesnormal2015-03-241-0/+1730
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e