summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a855f05)
-
-inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
-{
- LttvHooks *ret;
- if(id < h->len) ret = h->pdata[id];
- else ret = NULL;
-
- return ret;
-}
-
-
void lttv_hooks_by_id_remove(LttvHooksById *h, unsigned id)
{
if(id < h->len && h->pdata[id] != NULL) {
void lttv_hooks_by_id_remove(LttvHooksById *h, unsigned id)
{
if(id < h->len && h->pdata[id] != NULL) {
/* Get the list of hooks for an id, NULL if none exists */
/* Get the list of hooks for an id, NULL if none exists */
-LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id);
+inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
+{
+ LttvHooks *ret;
+ if(id < h->len) ret = h->pdata[id];
+ else ret = NULL;
+
+ return ret;
+}
/* Remove the list of hooks associated with an id */
/* Remove the list of hooks associated with an id */