mirror of
https://gitlab.com/klmp200/LO41.git
synced 2025-07-11 04:09:24 +00:00
C'est quand même mieux de vérifier si ça compile avant de push
This commit is contained in:
@ -7,8 +7,8 @@
|
||||
|
||||
SYNCHRONIZED_GETTER(Elevator, ELEVATOR_STATE, state)
|
||||
SYNCHRONIZED_SETTER(Elevator, ELEVATOR_STATE, state)
|
||||
SYNCHRONIZED_GETTER(Elevator, ELEVATOR_STATE, floor)
|
||||
SYNCHRONIZED_SETTER(Elevator, ELEVATOR_STATE, floor)
|
||||
SYNCHRONIZED_GETTER(Elevator, int, floor)
|
||||
SYNCHRONIZED_SETTER(Elevator, int, floor)
|
||||
|
||||
void _free__Elevator(THIS(Elevator)){
|
||||
DELETE(this->passenger_ids);
|
||||
|
@ -25,7 +25,7 @@ typedef struct o_Elevator {
|
||||
PUBLIC void * (*runnable)(void * void_this);
|
||||
|
||||
SYNCHRONIZE PRIVATE void (*set_state)(_THIS(Elevator), ELEVATOR_STATE var);
|
||||
SYNCHRONIZE PRIVATE int (*set_floor)(_THIS(Elevator));
|
||||
SYNCHRONIZE PRIVATE void (*set_floor)(_THIS(Elevator), int var);
|
||||
|
||||
SYNCHRONIZE PUBLIC void (*repair)(_THIS(Elevator));
|
||||
SYNCHRONIZE PUBLIC int (*get_number_of_passengers)(_THIS(Elevator));
|
||||
|
Reference in New Issue
Block a user