mirror of
https://github.com/xcat2/xNBA.git
synced 2025-07-12 07:41:33 +00:00
define malloc attribute
This commit is contained in:
@ -298,6 +298,12 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
|
||||
*/
|
||||
#define __nonnull __attribute__ (( nonnull ))
|
||||
|
||||
/**
|
||||
* Declare a pointer returned by a function as a unique memory address
|
||||
* as returned by malloc-type functions.
|
||||
*/
|
||||
#define __malloc __attribute__ (( malloc ))
|
||||
|
||||
/**
|
||||
* Declare a function as used.
|
||||
*
|
||||
|
Reference in New Issue
Block a user