Re: [PATCH] __attribute_malloc__ for malloc-like functions
| From: | Ard Biesheuvel | Date: | Thu, 28 Aug 2003 15:43:06 +0000 |
| Subject: | Re: [PATCH] __attribute_malloc__ for malloc-like functions | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals php.internals |
| Request: | Send a blank email to internals+get-4232@lists.php.net to get a copy of this message | ||
I've also added a few other attributes in a couple of places.
What do you think about the nonnull attribute?
I do think the attributes ((pure)) and ((const)) could make a difference. (For instance, hashing functions or any other function that base their result solely on their arguments)
Ard