tinyvm/include/tvm
Joseph Kogut 488b88f867 tvm_preprocess: update *src after (re)allocating memory
During preprocessing, we find directives, and if they specify including
other source files, we remove the directive, allocate a new block of
memory, copy the first block, append the new source file, and append the
second block.

Previously, the value of the source pointer was passed into the
preprocessing function. When the memory would be (re)allocated, the
pointer value could change, but the original pointer would not be
updated.

Now, the pointer is passed by address, and updated when the memory it
points to changes.
2017-02-12 11:51:06 -08:00
..
tvm.h tvm_step: use double pointer to args array 2017-02-12 11:38:01 -08:00
tvm_file.h Made pointer syntax consistent 2013-01-23 11:06:19 -07:00
tvm_htab.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00
tvm_lexer.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00
tvm_memory.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00
tvm_parser.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00
tvm_preprocessor.h tvm_preprocess: update *src after (re)allocating memory 2017-02-12 11:51:06 -08:00
tvm_program.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00
tvm_stack.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00
tvm_tokens.h Refactor with a consistent coding style 2016-08-28 20:31:12 -07:00