Changeset 4211f50b for global.c


Ignore:
Timestamp:
Oct 24, 2006, 11:45:16 AM (14 years ago)
Author:
Nelson Elhage <nelhage@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:
216c734
Parents:
908e388
Message:
Refactoring the editwin code to use an explicit callback.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r176d3443 r4211f50b  
    250250}
    251251
     252void owl_global_set_buffercallback(owl_global *g, void (*cb)(char*,char*)) {
     253  g->buffercallback = cb;
     254}
     255
     256void (*owl_global_get_buffercallback(owl_global *g))(char*,char*) {
     257  return g->buffercallback;
     258}
     259
    252260/* refresh */
    253261
Note: See TracChangeset for help on using the changeset viewer.