Mercurial > hg > octave-nkf
diff src/ov-fcn.h @ 3219:30770ba4457a
[project @ 1998-11-13 03:44:31 by jwe]
author | jwe |
---|---|
date | Fri, 13 Nov 1998 03:44:36 +0000 |
parents | c3409a0cafa8 |
children | 4d33b1e56bff |
line wrap: on
line diff
--- a/src/ov-fcn.h +++ b/src/ov-fcn.h @@ -53,12 +53,6 @@ octave_function *clone (void); - void *operator new (size_t size) - { return allocator.alloc (size); } - - void operator delete (void *p, size_t size) - { allocator.free (p, size); } - bool is_defined (void) const { return true; } bool is_function (void) const { return true; } @@ -94,8 +88,7 @@ // The help text for this function. string doc; - // For custom memory management. - static octave_allocator allocator; + DECLARE_OCTAVE_ALLOCATOR }; #endif