Created
December 13, 2014 09:33
-
-
Save gjedeer/4fafccd1802ebc62eb26 to your computer and use it in GitHub Desktop.
Test case for #1197
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <tox/tox.h> | |
#include <stdio.h> | |
static Tox_Options tox_options; | |
Tox *tox; | |
int main(int argc, char **argv) | |
{ | |
tox_options.ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; | |
tox_options.udp_disabled = 0; | |
tox_options.proxy_enabled = 0; | |
fprintf(stderr, "Before tox_new()\n"); | |
tox = tox_new(&tox_options); | |
fprintf(stderr, "tox_new() completed\n"); | |
tox_kill(tox); | |
fprintf(stderr, "tox_kill() completed\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment