1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2026-05-13 20:48:09 +00:00

Base du bâtiment

This commit is contained in:
2018-06-06 03:00:35 +02:00
parent 0fd63b47dd
commit 00eebf97f2
7 changed files with 74 additions and 1 deletions
+12
View File
@@ -3,3 +3,15 @@
//
#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;
}
+3
View File
@@ -9,6 +9,9 @@
typedef struct o_CommunicationBox {
DESTRUCTOR(CommunicationBox);
} CommunicationBox;
CommunicationBox *_init_CommunicationBox();
#endif //LO41_COMMUNICATIONBOX_H