[pph] cache replace next insert by

Gabriel Charette gchare@google.com
Fri Jul 8 21:33:00 GMT 2011


Hey Diego,

as we just talked over the phone, here is the diff I had sitting in my
stash to ask the pph cache to replace the next cache insert by the
given pointer (while still reading what's in the stream).

To use it simply call pph_cache_replace_next_by(stream, your_new_pointer)
and immediately after call pph_in_(whatever you want to read in and
immediately replace the cache pointer value for).

Cheers,
Gab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pph_cache_replace_next_by.diff
Type: application/octet-stream
Size: 2814 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20110708/9d1176c7/attachment.obj>


More information about the Gcc mailing list