Branch: Tag:

2016-12-30

2016-12-30 09:29:45 by Arne Goedeke <el@laramies.com>

Replace dynamic_buffer API everywhere

This change should be purely cosmetic. It replaces the old
dynamic_buffer API by the corresponding byte_buffer API everywhere.
The wrapper definitions in dynamic_buffer.h will remain for now.

822:    return;   }    - #define addstr(s, l) low_my_binary_strcat((s), (l), buf) + #define addstr(s, l) buffer_memcpy(buf, (s), (l))   #define adddata2(s,l) addstr((char *)(s),(l) * sizeof((s)[0]));      int sparc_force_fp(void)
830:    return 0;   }    - void sparc_encode_program(struct program *p, struct dynamic_buffer_s *buf) + void sparc_encode_program(struct program *p, struct byte_buffer *buf)   {    size_t prev = 0, rel;    /* De-relocate the program... */