--- /dev/null
+ctypedef public class Time [type MyTime_Type, object MyTimeObject]:
+ cdef public double seconds
+
+ctypedef public class Event [type MyEvent_Type, object MyEventObject]:
+ cdef public Time time
\ No newline at end of file
--- /dev/null
+ctypedef public class Time [type MyTime_Type, object MyTimeObject]:
+ def __init__(self, seconds):
+ self.seconds = seconds
+
+ctypedef public class Event [type MyEvent_Type, object MyEventObject]:
+ def __init__(self, Time time):
+ self.time = time
\ No newline at end of file