This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[pph] cache replace next insert by


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

Attachment: pph_cache_replace_next_by.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]