Replaced void*data with auto_ptr<function_data_t>, eliminating antoher halloc.

This commit is contained in:
ridiculousfish
2012-02-07 22:10:35 -08:00
parent c0e783eb6e
commit 006523ac59
2 changed files with 6 additions and 4 deletions

View File

@@ -11,8 +11,10 @@
#include "util.h"
#include "parser.h"
#include "event.h"
#include "function.h"
#include <vector>
#include <deque>
#include <memory>
#define PARSER_TEST_ERROR 1
#define PARSER_TEST_INCOMPLETE 2
@@ -81,7 +83,7 @@ typedef struct block
/**
Block type-specific data
*/
void *data;
std::auto_ptr<function_data_t> function_data;
#if 0
union