1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2024-11-14 21:03:23 +00:00
LO41/Elevator/Elevator.c

17 lines
283 B
C
Raw Normal View History

//
// Created by Antoine Bartuccio on 05/06/2018.
//
#include "Elevator.h"
2018-06-06 01:00:35 +00:00
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;
}