Prefix symbols with oboy_*
This commit is contained in:
parent
b6632aa74b
commit
c4960d87f8
|
@ -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;
|
||||
|
|
|
@ -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>");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue