1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2024-11-22 08:43:22 +00:00
LO41/Elevator/Elevator.c
2018-06-06 03:00:35 +02:00

17 lines
283 B
C

//
// Created by Antoine Bartuccio on 05/06/2018.
//
#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;
}