On Wednesday 25 July 2007 13:06:40 Andy Lester wrote:
> > PMCNULL is a singleton Null PMC. It's good. We like it. Hooray
> > for PMCNULL.
> Except that PMCNULL is not a real NULL and therefore splint and lint
> and whatnot can't keep track of it getting somewhere it shouldn't be.
They *can* tr
PMCNULL is a singleton Null PMC. It's good. We like it. Hooray
for PMCNULL.
Except that PMCNULL is not a real NULL and therefore splint and lint
and whatnot can't keep track of it getting somewhere it shouldn't be.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petda
On Wednesday 25 July 2007 00:27:40 Andy Lester wrote:
> >> Because PMCNULL can be (PMC)NULL or it can be PMCNULL, a special non-
> >> null variable.
> >>
> >> See how it's defined in the header.
> >
> > I thought we fixed it. Let's fix it.
>
> I don't know what the broken is. We don't want a spe
Because PMCNULL can be (PMC)NULL or it can be PMCNULL, a special non-
null variable.
See how it's defined in the header.
I thought we fixed it. Let's fix it.
I don't know what the broken is. We don't want a special PMCNULL
value? What is the backstory on PMCNULL?
--
Andy Lester => [EMA
On Tuesday 24 July 2007 21:50:55 Andy Lester wrote:
> > What am I missing here?
>
> Because PMCNULL can be (PMC)NULL or it can be PMCNULL, a special non-
> null variable.
>
> See how it's defined in the header.
I thought we fixed it. Let's fix it.
-- c
On Jul 24, 2007, at 9:43 PM, chromatic wrote:
$1 = PMC_IS_NULL(ns) ? PMCNULL : ns;
If PMC_IS_NULL(ns) -- if it's PMCNULL -- then return PMCNULL.
Otherwise,
return ns. That is, return exactly what you were going to return
anyway.
What am I missing here?
Because PMCNULL can be
On Tuesday 24 July 2007 21:25:39 Andy Lester wrote:
> On Jul 24, 2007, at 8:56 PM, chromatic wrote:
> > I presume that the function always returns either PMCNULL or a
> > NameSpace PMC,
> > so checking if it's returned PMCNULL and returning PMCNULL in that
> > case seems
> > a little silly.
> Bec
On Jul 24, 2007, at 8:56 PM, chromatic wrote:
I presume that the function always returns either PMCNULL or a
NameSpace PMC,
so checking if it's returned PMCNULL and returning PMCNULL in that
case seems
a little silly.
Because I'm trying to get all the C code to be NONNULL as much as
pos
On Tuesday 24 July 2007 15:37:54 [EMAIL PROTECTED] wrote:
> Modified: trunk/src/ops/var.ops
> ===
>=== --- trunk/src/ops/var.ops (original)
> +++ trunk/src/ops/var.ops Tue Jul 24 15:37:53 2007
> @@ -105,8 +105,8 @@