@irsdk-node/native 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Debug/irsdk_node.node +0 -0
- package/build/Debug/irsdk_node.pdb +0 -0
- package/build/Debug/obj/irsdk_node/lib/irsdk_utils.obj +0 -0
- package/build/Debug/obj/irsdk_node/lib/yaml_parser.obj +0 -0
- package/build/Debug/obj/irsdk_node/src/irsdk_node.obj +0 -0
- package/build/Debug/obj/irsdk_node/win_delay_load_hook.obj +0 -0
- package/build/Release/irsdk_node.iobj +0 -0
- package/build/Release/irsdk_node.ipdb +0 -0
- package/build/Release/irsdk_node.node +0 -0
- package/build/Release/irsdk_node.pdb +0 -0
- package/build/Release/obj/irsdk_node/lib/irsdk_utils.obj +0 -0
- package/build/Release/obj/irsdk_node/lib/yaml_parser.obj +0 -0
- package/build/Release/obj/irsdk_node/src/irsdk_node.obj +0 -0
- package/build/Release/obj/irsdk_node/win_delay_load_hook.obj +0 -0
- package/build/binding.sln +3 -3
- package/build/config.gypi +2 -1
- package/lib/irsdk_utils.cpp +1 -1
- package/package.json +1 -1
- package/src/irsdk_node.h +6 -6
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/binding.sln
CHANGED
|
@@ -4,14 +4,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "irsdk_node", "irsdk_node.vc
|
|
|
4
4
|
EndProject
|
|
5
5
|
Global
|
|
6
6
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
7
|
-
Release|x64 = Release|x64
|
|
8
7
|
Debug|x64 = Debug|x64
|
|
8
|
+
Release|x64 = Release|x64
|
|
9
9
|
EndGlobalSection
|
|
10
10
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
11
|
-
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.ActiveCfg = Release|x64
|
|
12
|
-
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.Build.0 = Release|x64
|
|
13
11
|
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Debug|x64.ActiveCfg = Debug|x64
|
|
14
12
|
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Debug|x64.Build.0 = Debug|x64
|
|
13
|
+
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.ActiveCfg = Release|x64
|
|
14
|
+
{1B84CF73-BF95-FD32-1555-88D3CCBBB352}.Release|x64.Build.0 = Release|x64
|
|
15
15
|
EndGlobalSection
|
|
16
16
|
GlobalSection(SolutionProperties) = preSolution
|
|
17
17
|
HideSolutionNode = FALSE
|
package/build/config.gypi
CHANGED
|
@@ -414,11 +414,12 @@
|
|
|
414
414
|
"globalconfig": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin\\etc\\npmrc",
|
|
415
415
|
"global_prefix": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin",
|
|
416
416
|
"init_module": "C:\\Users\\bengs\\.npm-init.js",
|
|
417
|
-
"local_prefix": "D:\\
|
|
417
|
+
"local_prefix": "D:\\Projects\\personal\\irsdk-node",
|
|
418
418
|
"metrics_registry": "https://registry.npmjs.org/",
|
|
419
419
|
"node_gyp": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
|
|
420
420
|
"npm_version": "9.7.2",
|
|
421
421
|
"prefix": "C:\\Users\\bengs\\.nvm\\versions\\node\\v20.4.0\\bin",
|
|
422
|
+
"tolerate_republish": "true",
|
|
422
423
|
"userconfig": "C:\\Users\\bengs\\.npmrc",
|
|
423
424
|
"user_agent": "yarn/4.5.1 npm/? node/v20.4.0 win32 x64"
|
|
424
425
|
}
|
package/lib/irsdk_utils.cpp
CHANGED
|
@@ -338,7 +338,7 @@ unsigned int irsdk_getBroadcastMsgID()
|
|
|
338
338
|
|
|
339
339
|
void irsdk_broadcastMsg(irsdk_BroadcastMsg msg, int var1, int var2, int var3)
|
|
340
340
|
{
|
|
341
|
-
irsdk_broadcastMsg(msg, var1, MAKELONG(var2, var3));
|
|
341
|
+
irsdk_broadcastMsg(msg, var1, static_cast<int>MAKELONG(var2, var3));
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
void irsdk_broadcastMsg(irsdk_BroadcastMsg msg, int var1, float var2)
|
package/package.json
CHANGED
package/src/irsdk_node.h
CHANGED
|
@@ -32,12 +32,12 @@ private:
|
|
|
32
32
|
Napi::Value __GetTelemetryTypes(const Napi::CallbackInfo &info);
|
|
33
33
|
Napi::Value GetTelemetryVar(const Napi::CallbackInfo &info);
|
|
34
34
|
|
|
35
|
-
bool
|
|
36
|
-
int
|
|
37
|
-
float
|
|
38
|
-
double
|
|
39
|
-
Napi::Object
|
|
40
|
-
Napi::Object
|
|
35
|
+
bool GetTelemetryBool(int entry, int index);
|
|
36
|
+
int GetTelemetryInt(int entry, int index);
|
|
37
|
+
float GetTelemetryFloat(int entry, int index);
|
|
38
|
+
double GetTelemetryDouble(int entry, int index);
|
|
39
|
+
Napi::Object GetTelemetryVarByIndex(const Napi::Env env, int index);
|
|
40
|
+
Napi::Object GetTelemetryVar(const Napi::Env env, const char *varName);
|
|
41
41
|
|
|
42
42
|
bool _loggingEnabled;
|
|
43
43
|
char* _data;
|