[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]Pnet trivia : how to typecast?
From: |
James Michael DuPont |
Subject: |
[DotGNU]Pnet trivia : how to typecast? |
Date: |
Thu, 23 Jan 2003 15:14:24 -0800 (PST) |
How can I find the conversion path of a user defined type into an
integer:
int this code,
I want to find the conversion from a unsigned in to an int (Int32).
Basically , if we are trying a bit harder in the function
ILClassFromType(info->image, info, type, TypeResolver);
that would be like a try and force the conversion, if so report so, but
only after you tried all the methods :
here are some of the interesting functions
GetIndirectConvertRules --
ILCanCoerceNodeKind --
Here is the int object :
type=0x21 : that means it uses less space in memory?
very interesting idea!
ILNode_SemAnalysis_94__ -- this is generated from the "+" command
ILNode_SemAnalysis -- this is the dispatch function that calls it.
bye the way, I solved a bug report.
https://savannah.gnu.org/bugs/?func=detailbug&bug_id=2107&group_id=353
the error message was not good enough.
mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
- [DotGNU]Pnet trivia : how to typecast?,
James Michael DuPont <=