timepos_t modulo operator is defined but not implemented
This commit is contained in:
parent
90ff5de6e3
commit
dd0dcd6d59
@ -584,7 +584,7 @@ LuaBindings::common (lua_State* L)
|
|||||||
.beginClass <Temporal::timepos_t> ("timepos_t")
|
.beginClass <Temporal::timepos_t> ("timepos_t")
|
||||||
.addConstructor <void (*) (Temporal::samplepos_t)> ()
|
.addConstructor <void (*) (Temporal::samplepos_t)> ()
|
||||||
.addOperator ("__add", CPPOPERATOR(Temporal::timepos_t, +))
|
.addOperator ("__add", CPPOPERATOR(Temporal::timepos_t, +))
|
||||||
.addOperator ("__mod", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::timecnt_t, %))
|
//.addOperator ("__mod", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::timecnt_t, %))
|
||||||
.addOperator ("__mul", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::ratio_t , *))
|
.addOperator ("__mul", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::ratio_t , *))
|
||||||
.addOperator ("__div", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::ratio_t , /))
|
.addOperator ("__div", CPPOPERATOR2(Temporal::timepos_t, Temporal::timepos_t, Temporal::ratio_t , /))
|
||||||
.addOperator ("__lt", CPPCOMPERATOR(Temporal::timepos_t, <))
|
.addOperator ("__lt", CPPCOMPERATOR(Temporal::timepos_t, <))
|
||||||
|
Loading…
Reference in New Issue
Block a user