|
From: | Dmitrij K |
Subject: | Re: [Tinycc-devel] How to get var and its type by ex ecuted c-string ? |
Date: | Fri, 25 Oct 2013 14:20:52 +0000 |
Dear Thomas.
Could you a tip me: How can I iterate stack (global) variables and extract from there names/flags/values of variables ? PS: I get error `incomplete type' if I am adding float/double vars into cstring (for call `tcc_compile_string') -- The best regards. > Date: Tue, 22 Oct 2013 21:43:41 +0800 > From: address@hidden > To: address@hidden > CC: address@hidden > Subject: Re: [Tinycc-devel] How to get var and its type by executed c-string ? > > Le Sun, 20 Oct 2013 18:55:03 +0000, > Dmitrij K <address@hidden> a écrit : > > > I am sorry too .. =( > > > > Here is a little proc-helper by me: > > (but would better if tcc keeps it for stack vars as native) > > > > [SNIP CODE] > > Yeah, this is more or less what the not exported type_to_str function > does. > > Thanks for sharing your code snippet. That might be useful to people in > the same situation as you. > > Best regards, > > Thomas Preud'homme |
[Prev in Thread] | Current Thread | [Next in Thread] |