Skip to content
Snippets Groups Projects
Commit ec192621 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Some more declarations.

Rev: src/pike_types.h:1.72
parent e743b7e5
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\*/ \*/
/* /*
* $Id: pike_types.h,v 1.71 2001/04/01 15:40:22 grubba Exp $ * $Id: pike_types.h,v 1.72 2001/08/30 23:32:16 mast Exp $
*/ */
#ifndef PIKE_TYPES_H #ifndef PIKE_TYPES_H
#define PIKE_TYPES_H #define PIKE_TYPES_H
...@@ -35,6 +35,9 @@ struct pike_type ...@@ -35,6 +35,9 @@ struct pike_type
struct pike_type *cdr; struct pike_type *cdr;
}; };
#include "block_alloc_h.h"
BLOCK_ALLOC(pike_type, n/a)
/* pike_type flags: */ /* pike_type flags: */
#define PT_FLAG_MARKER 1 /* Type contains markers. */ #define PT_FLAG_MARKER 1 /* Type contains markers. */
...@@ -375,6 +378,7 @@ int pike_type_allow_premature_toss(struct pike_type *type); ...@@ -375,6 +378,7 @@ int pike_type_allow_premature_toss(struct pike_type *type);
#endif /* !USE_PIKE_TYPE */ #endif /* !USE_PIKE_TYPE */
#ifdef DEBUG_MALLOC #ifdef DEBUG_MALLOC
void describe_all_types(void);
#define pop_type() ((struct pike_type *)debug_malloc_pass(debug_pop_type())) #define pop_type() ((struct pike_type *)debug_malloc_pass(debug_pop_type()))
#define compiler_pop_type() ((struct pike_type *)debug_malloc_pass(debug_compiler_pop_type())) #define compiler_pop_type() ((struct pike_type *)debug_malloc_pass(debug_compiler_pop_type()))
#define pop_unfinished_type() \ #define pop_unfinished_type() \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment