Changeset 1b1cd2c for functions.c
- Timestamp:
- Mar 23, 2010, 5:23:43 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 8dfb59c
- Parents:
- 6b78afb
- git-author:
- Nelson Elhage <nelhage@mit.edu> (03/13/10 21:18:03)
- git-committer:
- Nelson Elhage <nelhage@ksplice.com> (03/23/10 17:23:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r6b78afb r1b1cd2c 277 277 } 278 278 279 void owl_function_start_edit_win(const char *line, void (*callback)(owl_editwin *), void *data )279 void owl_function_start_edit_win(const char *line, void (*callback)(owl_editwin *), void *data, void (*cleanup)(void *)) 280 280 { 281 281 owl_editwin *e; … … 295 295 owl_global_set_typwin_active(&g); 296 296 297 owl_editwin_set_cbdata(owl_global_get_typwin(&g), data );297 owl_editwin_set_cbdata(owl_global_get_typwin(&g), data, cleanup); 298 298 owl_global_set_buffercallback(&g, callback); 299 299 owl_global_push_context(&g, OWL_CTX_EDITMULTI, e, "editmulti"); … … 312 312 noun); 313 313 314 owl_function_start_edit_win(line, callback, NULL );314 owl_function_start_edit_win(line, callback, NULL, NULL); 315 315 owl_global_set_buffercommand(&g, line); 316 316 }
Note: See TracChangeset
for help on using the changeset viewer.