examples/tutorial/c/eo-multiinherit/src/example_shape.eo

12 lines
194 B
Plaintext

interface Example.Shape {
[[A generic shape object]]
methods {
area {
[[Calculate the area of the shape.]]
params {
}
return: int;
}
}
}