diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-02-25 15:33:04 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-02-25 15:34:54 -0800 |
commit | afe132eb10575c31e856b7339942d9259f55d315 (patch) | |
tree | dda68993e1980ad10cceb57c467372da0fe3af5b /pbstream.h | |
parent | 446d7c27ee55f86515e37f8350f7018223676d01 (diff) |
Remove DYNARRAY for the stack (wasn't buying much).
Diffstat (limited to 'pbstream.h')
-rw-r--r-- | pbstream.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6,8 +6,6 @@ #include <stdint.h> #include <stdbool.h> -#include <stdlib.h> -#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. |