You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2021. It is now read-only.
dyad_Stream *stream, int event, dyad_Callback callback, void *udata
) {
Listener listener;
listener.event = event;
listener.callback = callback;
listener.udata = udata;
vec_push(&stream->listeners, listener);
}
the listener will be free
how can (v)->data[(v)->length++] = (val) for c
The text was updated successfully, but these errors were encountered:
a631069724
changed the title
i don't know
About the Vec (v)->data[(v)->length++] = (val)
Dec 25, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
#define vec_push(v, val)
( vec_expand(vec_unpack(v)),
(v)->data[(v)->length++] = (val) )
void dyad_addListener(
dyad_Stream *stream, int event, dyad_Callback callback, void *udata
) {
Listener listener;
listener.event = event;
listener.callback = callback;
listener.udata = udata;
vec_push(&stream->listeners, listener);
}
the listener will be free
how can (v)->data[(v)->length++] = (val) for c
The text was updated successfully, but these errors were encountered: