Changeset c8ef50b for perlconfig.c


Ignore:
Timestamp:
Sep 21, 2011, 4:21:51 PM (11 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
c162fd6
Parents:
8ad3964
git-author:
Jason Gross <jgross@mit.edu> (06/23/11 23:58:21)
git-committer:
Jason Gross <jgross@mit.edu> (09/21/11 16:21:51)
Message:
editwin callback for canceling the editwin

The code for editwin callbacks (called when the editwin is created) has
been extended so that callbacks are called when the editwin is canceled.
The old (perl) editwin callbacks still exist and have the same
functionality that they always have.  They are now deprecated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    rb9517cf rc8ef50b  
    520520}
    521521
    522 void owl_perlconfig_edit_callback(owl_editwin *e)
     522void owl_perlconfig_edit_callback(owl_editwin *e, bool success)
    523523{
    524524  SV *cb = owl_editwin_get_cbdata(e);
     
    537537  PUSHMARK(SP);
    538538  XPUSHs(sv_2mortal(text));
     539  XPUSHs(sv_2mortal(newSViv(success)));
    539540  PUTBACK;
    540541 
Note: See TracChangeset for help on using the changeset viewer.