|
|
| version 1.1.1.1, 2012/05/29 09:29:43 | version 1.1.1.2, 2021/03/17 13:38:46 |
|---|---|
| Line 1 | Line 1 |
| /* Memory allocators such as malloc+free. | /* Memory allocators such as malloc+free. |
| Copyright (C) 2011 Free Software Foundation, Inc. | Copyright (C) 2011-2019 Free Software Foundation, Inc. |
| This program is free software: you can redistribute it and/or modify | This program is free software: you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by |
| Line 13 | Line 13 |
| GNU General Public License for more details. | GNU General Public License for more details. |
| You should have received a copy of the GNU General Public License | You should have received a copy of the GNU General Public License |
| along with this program. If not, see <http://www.gnu.org/licenses/>. */ | along with this program. If not, see <https://www.gnu.org/licenses/>. */ |
| /* Written by Paul Eggert. */ | /* Written by Paul Eggert. */ |
| Line 29 struct allocator | Line 29 struct allocator |
| /* Do not use GCC attributes such as __attribute__ ((malloc)) with | /* Do not use GCC attributes such as __attribute__ ((malloc)) with |
| the function types pointed at by these members, because these | the function types pointed at by these members, because these |
| attributes do not work with pointers to functions. See | attributes do not work with pointers to functions. See |
| <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00007.html>. */ | <https://lists.gnu.org/r/bug-gnulib/2011-04/msg00007.html>. */ |
| /* Call ALLOCATE to allocate memory, like 'malloc'. On failure ALLOCATE | /* Call ALLOCATE to allocate memory, like 'malloc'. On failure ALLOCATE |
| should return NULL, though not necessarily set errno. When given | should return NULL, though not necessarily set errno. When given |