[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] How to get var and its type by executed c-string ?
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] How to get var and its type by executed c-string ? |
Date: |
Sun, 20 Oct 2013 22:01:31 +0800 |
User-agent: |
KMail/1.13.7 (Linux/2.6.38-ac2-ac100; KDE/4.8.4; armv7l; ; ) |
Le dimanche 20 octobre 2013 07:19:14, Dmitrij K a écrit :
>
> // HERE is I can not to know what is the type of a var (for example is the
> myint now) // but I need it for sprintf into a buffer (for return the
> buffer in the cstring mode for other things)
I don't think it's possible. There is type_to_str which converts an internal
representation of a type to a string but that's a function not exported in
libtcc.
Sorry,
Thomas