Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 17d1817

Browse files
committed
Update README.md
1 parent 6a241dc commit 17d1817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ git clone https://github.com/yourusername/TrampHook.git
2525
```cpp
2626
#include <TrampHook/TrampHook.h>
2727

28-
// Function to be hooked
29-
typedef int (*OriginalFunc)(int a, int b);
28+
// Function pointer for the function to be hooked
29+
using OriginalFunc = int (*__cdecl)(int a, int b);
3030

3131
// Our detour function
3232
int DetourFunction(int a, int b)

0 commit comments

Comments
 (0)