diff options
author | Yusuke Endoh <[email protected]> | 2019-09-22 22:12:18 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-22 22:12:18 +0900 |
commit | 5f35b8ca30cba69968d4d0c885a4bf5c48b03e17 (patch) | |
tree | c8388a0b0dc8790b906ebc5bc90660eccaf4f980 /method.h | |
parent | 2272efa4632a845ead37377a22ad9e24b45ebf27 (diff) |
st.c: Use rb_st_* prefix instead of st_* (#2479)
The original st.c was public domain hash table implementation, but
Ruby's st.c is highly modified, and its data structure is not
compatiblie with the original one.
Therefore, when creating an extension library to wrap C code that uses
the original st.c, the symbols conflict, which leads to segfault.
This changes the prefix `st_*` of st.c functions to `rb_st_*` for
reflecting that they are specific to Ruby's, and avoid symbol conflicts.
Notes
Notes:
Merged-By: mame <[email protected]>
Diffstat (limited to 'method.h')
0 files changed, 0 insertions, 0 deletions