elua: support is_restart for events in eolian api

This commit is contained in:
Daniel Kolesa 2016-07-07 15:15:03 +01:00
parent 2ab73f5db0
commit 96b960c953
1 changed files with 4 additions and 0 deletions

View File

@ -967,6 +967,10 @@ ffi.metatype("Eolian_Event", {
is_hot = function(self)
return eolian_event_is_hot(self) ~= 0
end,
is_restart = function(self)
return eolian_event_is_restart(self) ~= 0
end
}
})