Skip to content

Commit

Permalink
Revert the renaming to PippResource
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Mar 1, 2009
1 parent de1ee10 commit 11a8442
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/common/php_API.pir
Expand Up @@ -62,7 +62,7 @@ php_API.pir - PHP API Library
.param pmc val
.param string type

$I0 = isa val, 'PippResource'
$I0 = isa val, 'PhpResource'
if $I0 goto L1
$P0 = getinterp
$P1 = $P0['sub'; 1]
Expand Down Expand Up @@ -325,7 +325,7 @@ STILL INCOMPLETE (see parse_arg_impl).
.return ('boolean')
not_boolean:
unless c == 'r' goto not_resource
$I0 = isa arg, 'PippResource'
$I0 = isa arg, 'PhpResource'
if $I0 goto L5
$I0 = isa arg, 'PhpNull'
unless $I0 goto L51
Expand Down
2 changes: 1 addition & 1 deletion src/common/php_MACRO.pir
Expand Up @@ -111,7 +111,7 @@ php_MACRO.pir - PHP API macros
=cut

.macro RETURN_RESOURCE(val)
new $P0, 'PippResource', .val
new $P0, 'PhpResource', .val
.return ($P0)
.endm

Expand Down
4 changes: 2 additions & 2 deletions src/common/php_builtin.pir
Expand Up @@ -100,7 +100,7 @@ STILL INCOMPLETE.
if $I0 goto L4
$I0 = isa $P2, 'PhpBoolean'
if $I0 goto L4
$I0 = isa $P2, 'PippResource'
$I0 = isa $P2, 'PhpResource'
if $I0 goto L4
$I0 = isa $P2, 'PhpNull'
if $I0 goto L4
Expand Down Expand Up @@ -426,7 +426,7 @@ Get the resource type name for a given resource
.RETURN_NULL()
L1:
$P1 = shift args
$I0 = isa $P1, 'PippResource'
$I0 = isa $P1, 'PhpResource'
if $I0 goto L2
error(E_WARNING, "Supplied argument is not a valid resource handle")
.RETURN_FALSE()
Expand Down
2 changes: 1 addition & 1 deletion src/common/php_gmp.pir
Expand Up @@ -348,7 +348,7 @@ Gets signed long value of GMP number
.RETURN_NULL()
L1:
$P1 = shift args
$I0 = isa $P1, 'PippResource'
$I0 = isa $P1, 'PhpResource'
unless $I0 goto L2
.local pmc gmpnum
gmpnum = fetch_resource($P1, GMP_PMC)
Expand Down

0 comments on commit 11a8442

Please sign in to comment.