diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2021-02-22 04:18:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 12:18:16 +0900 |
commit | 089b7a84606925e885fe91050483a352735aa91e (patch) | |
tree | 585cb85d8e8f28d8bb2ee2793541be95de8562ce /variable.c | |
parent | 431f531b17cd78b563be11e3c6716c715a812568 (diff) | |
download | ruby-089b7a84606925e885fe91050483a352735aa91e.tar.gz |
Improve extension docs, remove deprecated rb_cData [ci skip]
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.
Diffstat (limited to 'variable.c')
0 files changed, 0 insertions, 0 deletions