Changeset 1152d45


Ignore:
Timestamp:
Oct 24, 2006, 12:52:14 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:
1aa2b1a
Parents:
c0a90c2
Message:
Including owl.h into perlglue.xs to make it easier to add more perl glue.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    re74e573 r1152d45  
    4141#define INC_OWL_H
    4242
     43/* Perl and curses don't play nice. */
     44#ifndef OWL_PERL
    4345#include <curses.h>
     46#else
     47#define WINDOW void
     48#endif
     49
    4450#include <sys/param.h>
    4551#include <EXTERN.h>
  • perlglue.xs

    r8a54409 r1152d45  
    88#include <XSUB.h>
    99
    10 /* Yeah, we should just include owl.h, but curses and perl don't play nice. */
    11 extern char *owl_function_command(char *cmd);
    12 extern void owl_free(void *x);
    13 extern SV *owl_perlconfig_curmessage2hashref();
    14 extern int owl_zwrite_create_and_send_from_line(char *, char *);
    15 extern char *owl_function_ztext_stylestrip(char *);
    16 extern void g;
    17 extern int owl_global_get_cols(void*);
     10#define OWL_PERL
     11#include "owl.h"
     12SV *owl_perlconfig_curmessage2hashref(void);
    1813
    1914MODULE = owl            PACKAGE = owl           
Note: See TracChangeset for help on using the changeset viewer.