- removed parameter "size" from "MemoryLoadLibrary" as it wasn't used · tarruda/MemoryModule@a7a9eda · GitHub
Skip to content

Commit a7a9eda

Browse files
committed
- removed parameter "size" from "MemoryLoadLibrary" as it wasn't used
- updated import table loading code, now also works with Delphi .bpl files - updated section copying code for uninitialized sections
1 parent e32c546 commit a7a9eda

3 files changed

Lines changed: 17 additions & 14 deletions

File tree

MemoryModule.c

Lines changed: 15 additions & 12 deletions

MemoryModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ typedef void *HMEMORYMODULE;
3232
extern "C" {
3333
#endif
3434

35-
HMEMORYMODULE MemoryLoadLibrary(const void *, const size_t);
35+
HMEMORYMODULE MemoryLoadLibrary(const void *);
3636

3737
FARPROC MemoryGetProcAddress(HMEMORYMODULE, const char *);
3838

example/DllLoader/DllLoader.cpp

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)