added decoder dll files for X64 ARCH
This commit is contained in:
1
src/ir_decoder/.gitignore
vendored
1
src/ir_decoder/.gitignore
vendored
@@ -3,6 +3,7 @@ libs/
|
||||
obj/
|
||||
.idea/
|
||||
ipch/
|
||||
x64/
|
||||
cmake-build-debug/
|
||||
cmake-build-release/
|
||||
Debug/
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v140_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
@@ -129,7 +129,7 @@
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
|
||||
BIN
src/web_console/irda_decoder/libirda_decoder_x64.dll
Normal file
BIN
src/web_console/irda_decoder/libirda_decoder_x64.dll
Normal file
Binary file not shown.
Binary file not shown.
@@ -11,8 +11,8 @@ var ffi = require('ffi');
|
||||
* return :
|
||||
*/
|
||||
exports.testFFI = function(req, res) {
|
||||
var libm = ffi.Library('./irda_decoder/libirda_decoder', {
|
||||
'irda_context_init': [ 'int', null ]
|
||||
var libm = ffi.Library('./irda_decoder/libirda_decoder_x64', {
|
||||
'irda_context_init': [ 'uint8', [] ]
|
||||
});
|
||||
libm.irda_context_init();
|
||||
res.end();
|
||||
|
||||
Reference in New Issue
Block a user