Prefix symbols with oboy_*

This commit is contained in:
Fabien Freling 2019-05-14 13:54:17 +02:00
parent b6632aa74b
commit c4960d87f8
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
let () =
Callback.register "name" Version.name;
Callback.register "version" Version.version;
Callback.register "oboy_name" Version.name;
Callback.register "oboy_version" Version.version;

View file

@ -10,7 +10,7 @@ OBoy::OBoy(QObject *parent) : QObject(parent)
QString OBoy::name() const
{
value * closure_f = caml_named_value("name");
value * closure_f = caml_named_value("oboy_name");
if (closure_f == nullptr) {
return QString("<Unreachable>");
}
@ -21,7 +21,7 @@ QString OBoy::name() const
QString OBoy::version() const
{
value * closure_f = caml_named_value("version");
value * closure_f = caml_named_value("oboy_version");
if (closure_f == nullptr) {
return QString("<Unreachable>");
}