LO41/CommunicationBox/CommunicationBox.c

17 lines
332 B
C

//
// Created by Antoine Bartuccio on 05/06/2018.
//
#include "CommunicationBox.h"
void _free__CommunicationBox(THIS(CommunicationBox)){
free(this);
}
CommunicationBox *_init_CommunicationBox(){
CommunicationBox * new_box = malloc_or_die(sizeof(CommunicationBox));
LINK(CommunicationBox, new_box, _free_);
return new_box;
}