mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
8 lines
No EOL
180 B
Text
8 lines
No EOL
180 B
Text
enum MealType { "rice", "noodles", "other" };
|
|
|
|
interface Meal {
|
|
attribute MealType type;
|
|
attribute float size; // in grams
|
|
|
|
void initialize(MealType type, float size);
|
|
}; |