Re: YY_SCANNER_SKELETON.yy_content_area could be ABSTRACT_SPECIAL ?
Berend de Boer <[email protected]> Sat, 13 Jun 2009 07:11:25 +0200
| Newsgroups | gmane.comp.lang.eiffel.gobo.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Emmanuel" == Emmanuel Stapf [ES] <[email protected]> writes: >> So the goal is to run the scanner/parser straight from a malloc >> buffer, which used to work. Emmanuel> Having done many C/Eiffel interfaces I consider this as Emmanuel> being dangerous to do. And why when using SPECIAL do you Emmanuel> want to pass this to the C side? Is the C code doing to Emmanuel> do some processing over the data? Nah, it's just the other way around. The data is in a malloc buffer, and needs to be parsed by YY_PARSER. Previously one could write a wrapper where data was picked up from such buffer. Now Gobo requires that it is in a SPECIAL or descendant. So I'm just trying to see if I can skip this copy or make it faster. -- Cheers, Berend de Boer ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects