Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *events = calloc(2, sizeof(event));
- (*events)->type = PRIVMSG;
- (*events)->trigger = "hi";
- (*events)->func = &hello;
- debug(OUT, "works");
- (*events + 1)->type = PRIVMSG;
- (*events + 1)->trigger = "hey";
- (*events + 1)->func = &hello;
Add Comment
Please, Sign In to add comment