Skip to content
Discussion options

You must be logged in to vote

OK, As I suspected, it was my "main.c"'s problem ...

This is the original structure of my main.c

int main(int argc, char *argv[]) {
  // ... Prepare work
  txMachine *the = &_root;
  // ... More code
  the = fxCloneMachine(&preparation->creation, the, "linemb", NULL);

  xsBeginHost(the);
  {
    xsTry
    {
      xsResult = xsAwaitImport("main", XS_IMPORT_NAMESPACE);
    }
    xsCatch
    {
      xsStringValue message = xsToString(xsException);
      fprintf(stderr, "### %s\n", message);
      error = 1;
    }

    // Start event loop
    GMainContext *main_context = g_main_context_default();
    GMainLoop *main_loop = g_main_loop_new(main_context, FALSE);
    g_main_loop_run(main_loop);…

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@linfan68
Comment options

@phoddie
Comment options

@linfan68
Comment options

@phoddie
Comment options

@linfan68
Comment options

Comment options

You must be logged in to vote
7 replies
@phoddie
Comment options

@linfan68
Comment options

@phoddie
Comment options

@linfan68
Comment options

@phoddie
Comment options

Answer selected by linfan68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants