Changeset 0337203 for perlconfig.c


Ignore:
Timestamp:
Mar 16, 2007, 12:45:19 AM (17 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
4dd6e58
Parents:
69d66aa7
Message:
First phase of the module rewrite. Internals now (IMO) somewhat
cleaner.

 r19586@phanatique:  nelhage | 2007-03-14 20:35:39 -0400
 First pass at a cleaned up perlwrap.pm
 
 * Using a new hook style
 * Modules loaded by BarnOwl::ModuleLoader (not yet written)
 
 reload is unimplemented for now. If possible, I'd like it to live
 elsewhere.
 
 r19587@phanatique:  nelhage | 2007-03-14 20:36:58 -0400
 Switching to the new underscore internal hook names.
 r19592@phanatique:  nelhage | 2007-03-16 00:34:00 -0400
 Actually switch to _receive_msg
 
 r19593@phanatique:  nelhage | 2007-03-16 00:34:27 -0400
 Some minor cleanup of perlwrap.pm. Shoving fake entries into @INC.
 
 r19594@phanatique:  nelhage | 2007-03-16 00:34:47 -0400
 First revision of ModuleLoader.
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    r1cc95709 r0337203  
    422422  } else {
    423423    char *ptr = NULL;
    424     if (owl_perlconfig_is_function("BarnOwl::Hooks::receive_msg")) {
     424    if (owl_perlconfig_is_function("BarnOwl::Hooks::_receive_msg")) {
    425425      ptr = owl_perlconfig_call_with_message(subname?subname
    426426                                       :"BarnOwl::_receive_msg_legacy_wrap", m);
     
    506506void owl_perlconfig_mainloop()
    507507{
    508   if (!owl_perlconfig_is_function("BarnOwl::Hooks::mainloop_hook"))
     508  if (!owl_perlconfig_is_function("BarnOwl::Hooks::_mainloop_hook"))
    509509    return;
    510510  dSP ;
    511511  PUSHMARK(SP) ;
    512   call_pv("BarnOwl::Hooks::mainloop_hook", G_DISCARD|G_EVAL);
     512  call_pv("BarnOwl::Hooks::_mainloop_hook", G_DISCARD|G_EVAL);
    513513  if(SvTRUE(ERRSV)) {
    514514    STRLEN n_a;
Note: See TracChangeset for help on using the changeset viewer.