[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>

Okay. I've got Ruby compiling. I'm attempting to get everything in

17 messages 2006/01/05
[#7058] Re: More on VC++ 2005 — nobuyoshi nakada <nobuyoshi.nakada@...> 2006/01/06

Hi,

[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)

Hi,

22 messages 2006/01/10
[#7097] Re: mathn: ugly warnings — Daniel Berger <Daniel.Berger@...> 2006/01/10

Hadmut Danisch wrote:

[#7098] Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/10

Daniel Berger wrote:

[#7118] Re: Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/12

*Dean Wampler *<deanwampler gmail.com> writes:

[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>

Hello,

23 messages 2006/01/28
[#7228] Re: Question about massive API changes — Caleb Tennis <caleb@...> 2006/01/28

>

Re: Wilderness: NODE Obj and Class Obj --- Can they be ID'ed by inspection?

From: Charles Mills <cmills@...>
Date: 2006-01-23 19:22:15 UTC
List: ruby-core #7194
On Jan 23, 2006, at 12:43 AM, Charles Thornton wrote:

> I think I know the answer, but...
>
> If I look at an object without knowing if it is a NODE or a CLASS,  
> can I tell the difference???
>
> -- 
> GodFather -- 667 Neighbor of the Beast
>

Yes.
#define T_CLASS  0x03
#define T_NODE   0x3f

BUILTIN_TYPE(v)
or in gdb
((RVALUE*)v)->as.basic.flags & T_MASK

-Charlie

In This Thread

Prev Next