Skip to content

Commit

Permalink
Normalized line endings
Browse files Browse the repository at this point in the history
Please run `git config --global core.autocrlf True` if you're on Windows
`dos2unix --force $(git ls-files --eol | grep "^i/crlf" | cut -f2)`was run to convert line endings
  • Loading branch information
CromFr committed Sep 21, 2021
1 parent 7681dc8 commit 3f8a2ca
Show file tree
Hide file tree
Showing 55 changed files with 74,277 additions and 74,277 deletions.
74 changes: 37 additions & 37 deletions lib/NWN2/include/nwn2heap.h
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
#include <windows.h>
#include <string.h>
#include <stdio.h>

struct NWN2MemoryHeader
{
DWORD size;
DWORD unk2;
DWORD NWN2Heap;
DWORD unk4; //0
};

//void *NWN2MemoryAllocate(ulong size);

/*
class NWN2MemoryMgr
{
public:
void *(*Allocate)(UINT size);
};*/
/*
void *(*NWN2Heap_Allocate)(UINT size);
void *(*NWN2Heap_Allocate)(UINT size);*/
class NWN2_Heap
{
public:
__declspec( dllimport ) void * __thiscall Allocate(unsigned int);
};

class NWN2_HeapMgr
{
public:
__declspec( dllimport ) static NWN2_HeapMgr * __cdecl NWN2_HeapMgr::Instance(void);
__declspec( dllimport ) NWN2_Heap * __thiscall NWN2_HeapMgr::GetDefaultHeap(void);
};

#include <windows.h>
#include <string.h>
#include <stdio.h>

struct NWN2MemoryHeader
{
DWORD size;
DWORD unk2;
DWORD NWN2Heap;
DWORD unk4; //0
};

//void *NWN2MemoryAllocate(ulong size);

/*
class NWN2MemoryMgr
{
public:
void *(*Allocate)(UINT size);
};*/
/*
void *(*NWN2Heap_Allocate)(UINT size);
void *(*NWN2Heap_Allocate)(UINT size);*/
class NWN2_Heap
{
public:
__declspec( dllimport ) void * __thiscall Allocate(unsigned int);
};

class NWN2_HeapMgr
{
public:
__declspec( dllimport ) static NWN2_HeapMgr * __cdecl NWN2_HeapMgr::Instance(void);
__declspec( dllimport ) NWN2_Heap * __thiscall NWN2_HeapMgr::GetDefaultHeap(void);
};

//__declspec( dllimport ) void * __thiscall NWN2_Heap::Allocate(unsigned int);
Loading

0 comments on commit 3f8a2ca

Please sign in to comment.