Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 6, 2021
1 parent 1deccb9 commit c73ae13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
11 changes: 1 addition & 10 deletions Chakra/Chakra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,5 @@
#include "framework.h"
#include "Chakra.h"

/*
extern "C" {
// The core api of the hook function
HOOKAPI int HookFunction(void *oldfunc, void **poutold, void *newfunc);
// Used to get a server-defined specific function by name
//HOOKAPI void *GetServerSymbol(char const *name);
}
*/
#pragma comment(linker, "/export:HookFunction=LiteLoader.JsAddRef")
#pragma comment(linker, "/export:HookFunction=LiteLoader.HookFunction")
#pragma comment(linker, "/export:GetServerSymbol=LiteLoader.dlsym_real")
1 change: 1 addition & 0 deletions Chakra/Chakra.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>Chakra</TargetName>
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down

0 comments on commit c73ae13

Please # to comment.