mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 11:55:29 +01:00
fix hardlink pushVariant
This commit is contained in:
parent
97ed09b3f9
commit
2c53b502d8
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
#include <QDebug>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
@ -99,7 +100,7 @@ int LuaEngineOS::linkFile(lua_State *L_p)
|
||||||
linkSucceeded = link(getVariant(L_p, 1).toString().toUtf8().data(), getVariant(L_p, 2).toString().toUtf8().data());
|
linkSucceeded = link(getVariant(L_p, 1).toString().toUtf8().data(), getVariant(L_p, 2).toString().toUtf8().data());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
getVariant(L_p, linkSucceeded);
|
pushVariant(L_p, linkSucceeded);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
getVariant(L_p, false);
|
getVariant(L_p, false);
|
||||||
|
|
Loading…
Reference in a new issue