Skip to content

Commit

Permalink
1.0.0.2
Browse files Browse the repository at this point in the history
fix uint64 methods for Pointer
  • Loading branch information
karikera committed Jan 16, 2021
1 parent 6d702cb commit 6d2a605
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bdsx/bdsx.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
<MASM Include="getout.asm" />
</ItemGroup>
<ItemGroup>
<None Include="version.bat" />
<CustomBuild Include="version.bat" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions bdsx/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "jsctx.h"
#include "uvasync.h"
#include "mtqueue.h"
#include "gen/version.h"

#include <KR3/win/windows.h>
#include <KRWin/hook.h>
Expand Down Expand Up @@ -205,6 +206,7 @@ void nodegate::initNativeModule(void* exports_raw) noexcept
JsValue cgate = JsNewObject;
exports.set(u"cgate", cgate);

cgate.set(u"bdsxCoreVersion", CONCAT(u, BDSX_CORE_VERSION));
cgate.set(u"GetProcAddress", VoidPointer::make(GetProcAddress));
cgate.set(u"GetModuleHandleW", VoidPointer::make(GetModuleHandleW));
cgate.setMethod(u"nodeLoopOnce", nodegate::loopOnce);
Expand Down
2 changes: 1 addition & 1 deletion bdsx/nodegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "uv.h"
#pragma warning(pop)

#pragma comment(lib, "chakracore.lib")
#pragma comment(lib, "chakra.lib")
#pragma comment(lib, "cares.lib")
#pragma comment(lib, "chakrashim.lib")
#pragma comment(lib, "http_parser.lib")
Expand Down
6 changes: 3 additions & 3 deletions bdsx/staticpointer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ void StaticPointer::initMethods(JsClassT<StaticPointer>* cls) noexcept
cls->setMethod(u"getUint8", &StaticPointer::getUint8);
cls->setMethod(u"getUint16", &StaticPointer::getUint16);
cls->setMethod(u"getUint32", &StaticPointer::getUint32);
cls->setMethod(u"getUint64AsFloat", &StaticPointer::getInt64AsFloat);
cls->setMethod(u"getUint64AsFloat", &StaticPointer::getUint64AsFloat);
cls->setMethod(u"getInt8", &StaticPointer::getInt8);
cls->setMethod(u"getInt16", &StaticPointer::getInt16);
cls->setMethod(u"getInt32", &StaticPointer::getInt32);
Expand All @@ -588,11 +588,11 @@ void StaticPointer::initMethods(JsClassT<StaticPointer>* cls) noexcept
cls->setMethod(u"setUint8", &StaticPointer::setUint8);
cls->setMethod(u"setUint16", &StaticPointer::setUint16);
cls->setMethod(u"setUint32", &StaticPointer::setUint32);
cls->setMethod(u"setUint64WithFloat", &StaticPointer::getInt64AsFloat);
cls->setMethod(u"setUint64WithFloat", &StaticPointer::setUint64WithFloat);
cls->setMethod(u"setInt8", &StaticPointer::setInt8);
cls->setMethod(u"setInt16", &StaticPointer::setInt16);
cls->setMethod(u"setInt32", &StaticPointer::setInt32);
cls->setMethod(u"setInt64WithFloat", &StaticPointer::getInt64AsFloat);
cls->setMethod(u"setInt64WithFloat", &StaticPointer::setInt64WithFloat);
cls->setMethod(u"setFloat32", &StaticPointer::setFloat32);
cls->setMethod(u"setFloat64", &StaticPointer::setFloat64);
cls->setMethod(u"setPointer", &StaticPointer::setPointer);
Expand Down
2 changes: 1 addition & 1 deletion bdsx/version.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

set BDSX_CORE_VERSION=1.0.0.1
set BDSX_CORE_VERSION=1.0.0.2

0 comments on commit 6d2a605

Please sign in to comment.