summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-09-18 16:31:58 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-09-19 15:35:15 -0700
commitf048f77c4a0bf9cb604e2f3291dda71978ed8313 (patch)
treeae02d60db0d64ef2f0f75b4730e292565b81c3de /include/ruby/missing.h
parent7c51ce5ff625c1295d48ff041b22cb4a9d75c9aa (diff)
Extract enc_load_from_base from enc_register_at
Previously we would sometimes call enc_register_at several times in order to update the encoding values after the base encoding may have been loaded. This updates enc_register_at to only be used via enc_register, when an actual new encoding at a new index is being registered. Other callers (which in all cases found the index by the name matching) now call enc_load_from_base which is only responsibly for loading the encoding from the base values.
Diffstat (limited to 'include/ruby/missing.h')
0 files changed, 0 insertions, 0 deletions