Condition de fin des elevators

This commit is contained in:
2018-06-22 01:58:11 +02:00
parent bd6920d5e9
commit f6425b271e
7 changed files with 37 additions and 5 deletions
+2 -2
View File
@@ -12,8 +12,8 @@
typedef enum {RESIDENT, VISITOR} PASSENGER_TYPE;
typedef struct o_Passenger {
PASSENGER_TYPE type;
union {
PUBLIC PASSENGER_TYPE type;
PUBLIC union {
Resident * resident;
Visitor * visitor;
};