Subject: | Perl_sv_isa patch |
The sv_isa macro is needed to add the first thread context arg.
--- Curses-1.06/Curses.c.orig 2001-07-25 18:10:38.000000000 +0100
+++ Curses-1.06/Curses.c 2004-09-05 11:47:08.793166300 +0100
@@ -272,7 +272,7 @@
SV *sv;
int argnum;
{
- if (Perl_sv_isa(sv, "Curses::Window")) {
+ if (sv_isa(sv, "Curses::Window")) {
WINDOW *ret = (WINDOW *)SvIV((SV*)SvRV(sv));
return ret;
}