diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-05-23 13:26:29 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-05-23 14:12:53 +0900 |
| commit | 0a671907355d806f1701ab5f677e1582f834a925 (patch) | |
| tree | 09b95d35da0d9ccc08b99529815e68f2df328bd2 /test/ruby/test_stack.rb | |
| parent | 60fb6d485944ea9dc07900a566cd5bd6ba5e083f (diff) | |
merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6:
Alias init functions
The extension library has each initialization function named "Init_" +
basename. If multiple extensions have the same base name (such as
cgi/escape and erb/escape), the same function will be registered for
both names.
To fix this conflict, rename the initialization functions under sub
directories using using parent names, when statically linking.
---
ext/extmk.rb | 16 +++++++++++++++-
template/extinit.c.tmpl | 2 +-
2 files changed, 16 insertions(+), 2 deletions(-)
Diffstat (limited to 'test/ruby/test_stack.rb')
0 files changed, 0 insertions, 0 deletions
