# erealloc not declared?

- Thread: https://externals.io/message/74345
- Original archive: https://news-web.php.net/php.internals/74345
- Started by Aaron Lewis on 2014-05-19T07:48:23+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #74345 — Aaron Lewis — 2014-05-19T07:48:23+00:00

URL: https://externals.io/message/74345#74345

Hi,

I'm adding something in ext/standard/file.c, but erealloc() doesn't
seem to be declared here, what is missing?

-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33

---

## #74350 — Pierre Joye — 2014-05-19T09:09:53+00:00

URL: https://externals.io/message/74345#74350 · In reply to: #74345

hi,


> Hi,
>
> I'm adding something in ext/standard/file.c, but erealloc() doesn't
> seem to be declared here, what is missing?

This is where it is declared:

http://lxr.php.net/xref/PHP_5_6/Zend/zend_alloc.h#74

and is part of the common php headers, which are included in file.c

Cheers,
-- 
Pierre

@pierrejoye | http://www.libgd.org
