🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51943

How to get the type of a variable or an expression as an integer value?

#51943
From: deflorio
Date: Fri, 12 Mar 1993 11:02
13 lines
1119 bytes
Dear Sirs,
I need help for a problem that seems very hard to solve for me but
probably it's a very naive question for developers of gcc.
I need a way to get a unique  integer value for any (pre-defined
or user defined) type i.e., I need some function (let's call it
c_type()) that outputs an integer type descriptor for any variable
or expression.

I hope not to disturb you too much; thank you very much for your
attenction,

Vincenzo De Florio
deflorio@fourier.csata.it
Technical Details
Message-ID: <9302091016.AA19058@fourier.csata.it>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fourier.csata.it!deflorio

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3137e18f36285444,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-12 03:16:51 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.eng.gtefsd.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fourier.csata.it!deflorio
From: deflorio@fourier.csata.it
Newsgroups: gnu.gcc.help
Subject: How to get the type of a variable or an expression as an integer value?
Date: 12 Mar 1993 06:02:40 -0500
Organization: GNUs Not Usenet
Lines: 13
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9302091016.AA19058@fourier.csata.it>