3c2093fec6
See #88 Also, includes partial implementation of typedef top level declaration. See #95 Also, fix function types. Previously the way we were deduping function type pointers was incorrect.
21 lines
503 B
C++
21 lines
503 B
C++
/*
|
|
* Copyright (c) 2015 Andrew Kelley
|
|
*
|
|
* This file is part of zig, which is MIT licensed.
|
|
* See http://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
|
|
#ifndef ZIG_PARSEH_HPP
|
|
#define ZIG_PARSEH_HPP
|
|
|
|
#include "all_types.hpp"
|
|
|
|
int parse_h_file(ImportTableEntry *import, ZigList<ErrorMsg *> *errors, const char *target_file,
|
|
CodeGen *codegen, AstNode *source_node);
|
|
|
|
int parse_h_buf(ImportTableEntry *import, ZigList<ErrorMsg *> *errors, Buf *source,
|
|
CodeGen *codegen, AstNode *source_node);
|
|
|
|
#endif
|