From afe132eb10575c31e856b7339942d9259f55d315 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 25 Feb 2009 15:33:04 -0800 Subject: Remove DYNARRAY for the stack (wasn't buying much). --- pbstream.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pbstream.h') diff --git a/pbstream.h b/pbstream.h index b2f8ff8..9cc9578 100644 --- a/pbstream.h +++ b/pbstream.h @@ -6,8 +6,6 @@ #include #include -#include -#include "dynarray.h" /* A list of types as they can appear in a .proto file. */ typedef enum pbstream_type { @@ -136,7 +134,7 @@ struct pbstream_parse_stack_frame { struct pbstream_parse_state { size_t offset; void *user_data; - DEFINE_DYNARRAY(stack, struct pbstream_parse_stack_frame); + struct pbstream_parse_stack_frame *base, *top, *limit; }; /* Call this once before parsing to initialize the data structures. -- cgit v1.2.3