[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Multiple libtcc states.
From: |
F . B |
Subject: |
[Tinycc-devel] Multiple libtcc states. |
Date: |
Sun, 20 Jan 2008 18:33:16 +0100 |
Is the fact that this segfaults intentional? As in - can I only ever
have one TCCState active at a time? And if it is so, shouldn't the
second tcc_new() fail?
TCCState *sa = NULL;
TCCState *sb = NULL;
if (!(sa = tcc_new()))
{
printf("Could not create tcc state : sa\n");
exit(1);
}
if (!(sb = tcc_new()))
{
printf("Could not create tcc state : sb\n");
exit(2);
}
tcc_delete(sa);
tcc_delete(sb);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] Multiple libtcc states.,
F . B <=