Changeset 61abb18 for perlglue.xs


Ignore:
Timestamp:
Aug 10, 2008, 10:53:16 AM (16 years ago)
Author:
Geoffrey Thomas <geofft@mit.edu>
Branches:
barnowl_perlaim
Parents:
3dcccba
Message:
Now it compiles. Highly likely to leak or crash, although it seems to work for me...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlglue.xs

    rb67ab6b r61abb18  
    166166
    167167                SvREFCNT_inc(callback);
    168                 owl_editwin_set_cbdata(owl_global_get_typwin(&g), callback);
    169                 owl_editwin_set_callback(owl_global_get_typwin(&g), owl_perlconfig_edit_callback);
     168                owl_editwin_set_callback(owl_global_get_typwin(&g), owl_perlconfig_edit_callback, callback);
    170169        }
    171170
     
    182181
    183182                SvREFCNT_inc(callback);
    184                 owl_editwin_set_cbdata(owl_global_get_typwin(&g), callback);
    185                 owl_editwin_set_callback(owl_global_get_typwin(&g), owl_perlconfig_edit_callback);
     183                owl_editwin_set_callback(owl_global_get_typwin(&g), owl_perlconfig_edit_callback, callback);
    186184        }
    187185
     
    208206
    209207                SvREFCNT_inc(callback);
    210                 owl_editwin_set_cbdata(owl_global_get_typwin(&g), callback);
    211                 owl_editwin_set_callback(owl_global_get_typwin(&g), owl_perlconfig_edit_callback);
     208                owl_editwin_set_callback(owl_global_get_typwin(&g), owl_perlconfig_edit_callback, callback);
    212209        }
    213210
Note: See TracChangeset for help on using the changeset viewer.