Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    r6401db3 re5210c9  
    331331  char *err;
    332332  const char *args[4] = {"", "-e", "0;", NULL};
     333  const char *dlerr;
    333334  AV *inc;
    334335  char *path;
     
    388389  g_free(path);
    389390
     391  /* Load up perl-Glib. */
     392  eval_pv("use Glib;", FALSE);
     393
     394  /* Now, before BarnOwl tries to use them, get the relevant function pointers out. */
     395  dlerr = owl_closure_init();
     396  if (dlerr) {
     397    return g_strdup(dlerr);
     398  }
     399
     400  /* And now it's safe to import BarnOwl. */
    390401  eval_pv("use BarnOwl;", FALSE);
    391402
Note: See TracChangeset for help on using the changeset viewer.