Example #1
0
static PyObject *
GlobalHotkey_get_current_event_time (GlobalHotkey *self)
{
  guint32 ret = keybinder_get_current_event_time ();
  return Py_BuildValue ("i", ret);
}
Example #2
0
/* lkeybinder library function 'get_current_event_time' */
static int lkeybinder_current_event_time (lua_State *L)
{
  lua_pushnumber(L, keybinder_get_current_event_time());
  return 1;
}