Skip to content

Commit

Permalink
PMC_num_val() is gone
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Mar 24, 2009
1 parent 812a445 commit 536d3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmc/phpstring.pmc
Expand Up @@ -149,7 +149,7 @@ Return the string 'string'.

if (s1 != s2 && (*s2 == '\0' || isspace((unsigned char)*s2))) {
retval = pmc_new(INTERP, dynpmc_PhpFloat);
PMC_num_val(retval) = d;
VTABLE_set_number(INTERP, retval, d);
}
else {
retval = pmc_new(INTERP, dynpmc_PhpInteger);
Expand Down

0 comments on commit 536d3c1

Please sign in to comment.