Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
It seems that i am confused about how generic pointers are used.... if i use
the following code :
SDCC Generates the following to verify its "NULL"ness...:
(Where r2=HighByte, r3 = LowByte, r4 = Type)
The Problem is :
What if the pointer VALUE is NULL and not the Type ?
It seems that only the Data portion of the pointer should matter when it
comes to NULLness...
If this is the desired affect of the code, how should i check this
pointer for Null ?
I have seen some messages where people have casted the NULL value to the
proper data space. But wouldnt' that just alleviate the need for generic
pointers ? Since they wouldn't have much use if you cant write generic code