Mercurial > hg > octave-lyh
diff src/unwind-prot.cc @ 240:a99f28f5e351
[project @ 1993-11-30 20:24:36 by jwe]
author | jwe |
---|---|
date | Tue, 30 Nov 1993 20:24:36 +0000 |
parents | 78fd87e624cb |
children | 393e95f46b51 |
line wrap: on
line diff
--- a/src/unwind-prot.cc +++ b/src/unwind-prot.cc @@ -21,8 +21,8 @@ */ -#ifdef __GNUG__ -#pragma implementation +#ifdef HAVE_CONFIG_H +#include "config.h" #endif #include <stddef.h> @@ -35,27 +35,6 @@ #include "error.h" #include "utils.h" -class unwind_elem -{ - public: - unwind_elem (void); - unwind_elem (char *t); - unwind_elem (cleanup_func f, void *p); - unwind_elem (const unwind_elem& el); - ~unwind_elem (void); - - unwind_elem& operator = (const unwind_elem& el); - - char *tag (void); - cleanup_func fptr (void); - void *ptr (void); - - private: - char *_tag; - cleanup_func _fptr; - void *_ptr; -}; - unwind_elem::unwind_elem (void) { _tag = (char *) NULL;