You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2004/01/11 22:34:41 UTC

[PATCH] perl bindings: FILE typemap fix.

This patch applies on top of the current pending large perl binding
patch.  This should fix the problem clako noticed when trying to build
with SWIG 1.3.20, which doesn't seem to like the XS macros in the .i
files.

However, this doesn't just fix that, it's technically more correct.  The
previous typemap didn't work right because the fileno call should have
been main::filno, was ugly in that it called perl space to do the
operation, and wasn't necessarily portable between perl
impelementations, since fileno doesn't necessarily always return a file
descriptor on every platform (e.g. HANDLE on Windows).

Anyway here's the patch.

[[[
* subversion/bindings/swig/core.i
    For the FILE * typemap in perl use perl's IO abstraction interface.
]]]


-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

Re: [PATCH] perl bindings: FILE typemap fix.

Posted by Ben Reser <be...@reser.org>.
Commited as part of r8270

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org