pike.git/
src/
callback.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-04-27
2014-04-27 20:37:42 by Martin Nilsson <nilsson@opera.com>
dc8d02fd4ecce2757f0fa8f4ee5418035abd5a99 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
mallocs nowdays return void*, so no need to case.
212:
callback_func free_func) { struct callback *l;
-
l=
(struct callback*)
ba_alloc(&callback_allocator);
+
l=ba_alloc(&callback_allocator);
l->call=call; l->arg=arg; l->free_func=free_func;