Re: [sqlite] [PATCH] add malloc and alloc_size attributes to allocation functions

2012-06-02 Thread Ryan Johnson
The list strips attachments... you might try sqlite-dev? On 01/06/2012 5:31 PM, Nuno Lopes wrote: Hi, Please find in attach a patch that adds support for the malloc and alloc_size function attributes. The malloc attribute specifies that a function behaves like malloc (i.e., it returns a

[sqlite] [PATCH] add malloc and alloc_size attributes to allocation functions

2012-06-02 Thread Nuno Lopes
Hi, Please find in attach a patch that adds support for the malloc and alloc_size function attributes. The malloc attribute specifies that a function behaves like malloc (i.e., it returns a fresh pointer to an allocated block). It's mainly used for optimization purposes. The alloc_size