summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-25 20:58:15 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-25 20:58:15 +0000
commit13621cfb31449eed71b690b723c2463019b1b277 (patch)
tree93ad64534ab9ef56d1655d85c33ac65df651e8e8 /perlio.h
parent8040349a05f5a3f1e93bde55d8359e415c47bf01 (diff)
downloadperl-13621cfb31449eed71b690b723c2463019b1b277.tar.gz
Add destruct time hook to PerlIO (for work-in-process implementing
layers in perl code. In such cases layers need to be popped before we loose the ability to run perl code.) Also back-out "PerlIO::object" hook - it isn't going to work like that... p4raw-id: //depot/perlio@9346
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlio.h b/perlio.h
index ce28c8da5a..cd722a1018 100644
--- a/perlio.h
+++ b/perlio.h
@@ -327,6 +327,8 @@ extern int PerlIO_apply_layers (pTHX_ PerlIO *f, const char *mode, const char *n
extern int PerlIO_binmode (pTHX_ PerlIO *f, int iotype, int omode, const char *names);
#endif
+extern void PerlIO_destruct(pTHX);
+
#ifndef PERLIO_IS_STDIO
extern void PerlIO_cleanup(void);