Changeset f72f573


Ignore:
Timestamp:
Oct 30, 2006, 1:42:49 PM (14 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
6b3f797
Parents:
2fa15f0
Message:
Changed how owl::mainloop_hook is called. This does wonders for memory.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r2fa15f0 rf72f573  
    449449
    450450    if (owl_perlconfig_is_function("owl::mainloop_hook")) {
    451          perlout = owl_perlconfig_execute("owl::mainloop_hook");
    452          if (perlout) owl_free(perlout);
     451         owl_perlconfig_mainloop();
    453452    }
    454453
  • perlconfig.c

    r421c8ef7 rf72f573  
    412412  e->cbdata = NULL;
    413413}
     414
     415void owl_perlconfig_mainloop()
     416{
     417  dSP ;
     418  PUSHMARK(SP) ;
     419  call_pv("owl::mainloop_hook", G_DISCARD|G_EVAL|G_KEEPERR);
     420  return;
     421}
Note: See TracChangeset for help on using the changeset viewer.