You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
266 B
16 lines
266 B
8 years ago
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <uv.h>
|
||
|
|
||
|
int main() {
|
||
|
uv_loop_t *loop = malloc(sizeof(uv_loop_t));
|
||
|
uv_loop_init(loop);
|
||
|
|
||
|
printf("Now quitting.\n");
|
||
|
uv_run(loop, UV_RUN_DEFAULT);
|
||
|
|
||
|
uv_loop_close(loop);
|
||
|
free(loop);
|
||
|
return 0;
|
||
|
}
|