This commit refactors the project using a single, consistent coding style, derived from the Linux Kernel Coding Style, available here: https://www.kernel.org/doc/Documentation/CodingStyle This includes, but is not limited to: * Removal of typedefs, especially for structs * Limiting lines to a reasonable length, 80 characters, mostly * K&R style braces * Removal of CamelCase
13 lines
319 B
C
13 lines
319 B
C
#ifndef TVM_PARSER_H_
|
|
#define TVM_PARSER_H_
|
|
|
|
#include "tvm.h"
|
|
#include "tvm_program.h"
|
|
|
|
int tvm_parse_labels(struct tvm_ctx *vm, const char ***tokens);
|
|
int tvm_parse_program(struct tvm_ctx *vm, const char ***tokens);
|
|
|
|
int *tvm_add_value(struct tvm_ctx *vm, const int val);
|
|
int tvm_parse_value(const char *str);
|
|
|
|
#endif
|