Changeset 120291c for owl.h


Ignore:
Timestamp:
Apr 29, 2008, 1:21:12 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:
864ed35
Parents:
b72a352
Message:
Clone owl_perl from the sqlite branch because I'm about to make use of it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r9c7a701 r120291c  
    6868#define HAS_BOOL
    6969#include <perl.h>
     70#include "owl_perl.h"
    7071#undef logout
    7172#include "XSUB.h"
     
    143144#define OWL_SCROLLMODE_PAGED       4
    144145#define OWL_SCROLLMODE_PAGEDCENTER 5
    145 
    146 #define OWL_STYLE_TYPE_INTERNAL  0
    147 #define OWL_STYLE_TYPE_PERL      1
    148146
    149147#define OWL_TAB               3  /* This *HAS* to be the size of TABSTR below */
     
    362360typedef struct _owl_style {
    363361  char *name;
    364   char *description;
    365   int type;
    366   char *perlfuncname;
    367   void (*formatfunc) (owl_fmtext *fm, owl_message *m);
     362  SV *perlobj;
    368363} owl_style;
    369364
Note: See TracChangeset for help on using the changeset viewer.