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:
@ -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;
|
||||
}
|
@ -9,6 +9,9 @@
|
||||
|
||||
typedef struct o_Elevator {
|
||||
|
||||
DESTRUCTOR(Elevator);
|
||||
} Elevator;
|
||||
|
||||
Elevator *_init_Elevator();
|
||||
|
||||
#endif //LO41_ELEVATOR_H
|
||||
|
Reference in New Issue
Block a user