1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2025-07-11 04:09:24 +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

View File

@ -3,3 +3,15 @@
//
#include "Elevator.h"
void _free__Elevator(THIS(Elevator)){
free(this);
}
Elevator *_init_Elevator(){
Elevator * new_elevator = malloc_or_die(sizeof(Elevator));
LINK(Elevator, new_elevator, _free_);
return new_elevator;
}

View File

@ -9,6 +9,9 @@
typedef struct o_Elevator {
DESTRUCTOR(Elevator);
} Elevator;
Elevator *_init_Elevator();
#endif //LO41_ELEVATOR_H