Re: Data Dictionary and Code Generator
"Simon Biber" <email@example.com> wrote in message news:<firstname.lastname@example.org u>...
> This could be useful. I guess it parses static/extern for
> functions and objects, and only includes declarations of ones
> with external linkage, and auto-generates include guards, etc.
> Loop iterators are reinitialised at the start of each
> for statement. Why not just make them global variables? :)
ha! I experimented with that once, with disastrous results, and
learned to stay away from that. I was using a shared buffer instead,
but this loop iterator is an example of why it didn't work. Let's say
function 1 executes function 2 in a loop, incrementing i every time.
and function 2 calls function X in a loop, incrementing i every time.
bam! bzzt! that's all she wrote.
|All times are GMT. The time now is 01:29 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.