-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
442 changed files
with
15,350 additions
and
8,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
/* 7zAlloc.h -- Allocation functions | ||
2013-03-25 : Igor Pavlov : Public domain */ | ||
2017-04-03 : Igor Pavlov : Public domain */ | ||
|
||
#ifndef __7Z_ALLOC_H | ||
#define __7Z_ALLOC_H | ||
|
||
#include <stdlib.h> | ||
#include "7zTypes.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
EXTERN_C_BEGIN | ||
|
||
void *SzAlloc(void *p, size_t size); | ||
void SzFree(void *p, void *address); | ||
void *SzAlloc(ISzAllocPtr p, size_t size); | ||
void SzFree(ISzAllocPtr p, void *address); | ||
|
||
void *SzAllocTemp(void *p, size_t size); | ||
void SzFreeTemp(void *p, void *address); | ||
void *SzAllocTemp(ISzAllocPtr p, size_t size); | ||
void SzFreeTemp(ISzAllocPtr p, void *address); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
EXTERN_C_END | ||
|
||
#endif |
Oops, something went wrong.