You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
50.10 added a std::function hook to call translate_name, in light of #3820 we should probably figure out how to use this because it appears our code for this is possibly out of date
the value of the published global translate_name is of type std::function<void(namest*, string&, char, char)> where namest is bay12's name for what we call language_name. we can probably use this with a reinterpret_cast<std::function<std::function<void(namest*, string&, bool, bool)> >(df::global::translate_name)->(name,string,false,false) but that needs to be tested
The text was updated successfully, but these errors were encountered:
50.10 added a
std::function
hook to calltranslate_name
, in light of #3820 we should probably figure out how to use this because it appears our code for this is possibly out of datethe value of the published global
translate_name
is of typestd::function<void(namest*, string&, char, char)>
wherenamest
is bay12's name for what we calllanguage_name
. we can probably use this with areinterpret_cast<std::function<std::function<void(namest*, string&, bool, bool)> >(df::global::translate_name)->(name,string,false,false)
but that needs to be testedThe text was updated successfully, but these errors were encountered: