xmlbuff.c 230 B

123456789101112
  1. #include <stdlib.h>
  2. #include "xmlbuff.h"
  3. XMLBuff *XMLBuffNew(void) {
  4. XMLBuff *out = malloc(sizeof(XMLBuff));
  5. *out = (XMLBuff){ .data=NULL };
  6. return out;
  7. }
  8. void XMLBuffFree(XMLBuff *in) {
  9. free(in);
  10. }