Diff
Not logged in

Differences From Artifact [473c3d5ffb]:

To Artifact [e4c160602c]:


     1      1   
     2      2    /* ==================================================================
     3      3       FILE: "/home/joze/src/tclreadline/tclreadline.h.in"
     4         -    LAST MODIFICATION: "Sat, 01 Jul 2000 23:46:41 +0200 (joze)"
            4  +    LAST MODIFICATION: "Mit, 20 Sep 2000 17:18:12 +0200 (joze)"
     5      5       (C) 1998 - 2000 by Johannes Zellner, <johannes@zellner.org>
     6      6       $Id$
     7      7       vim:set ft=c:
     8      8       ---
     9      9       tclreadline -- gnu readline for tcl
    10     10       http://www.zellner.org/tclreadline/
    11     11       Copyright (c) 1998 - 2000, Johannes Zellner <johannes@zellner.org>
    12     12       This software is copyright under the BSD license.
    13     13       ================================================================== */  
    14     14   
    15         -static char *TCLRL_VERSION = "@VERSION@";
           15  +#ifndef TCLREADLINE_H_
           16  +#define TCLREADLINE_H_
           17  +
           18  +#include <tcl.h>
           19  +
           20  +#define TCLRL_LIBRARY        "@TCLRL_DIR@"
           21  +
           22  +/* VERSION STRINGS */
           23  +#define TCLRL_VERSION_STR    "@VERSION@"
           24  +#define TCLRL_PATCHLEVEL_STR "@PATCHLEVEL_STR@"
    16     25   
    17         -static char* tclrl_library = "@TCLRL_DIR@";
           26  +/* VERSION NUMBERS */
           27  +#define TCLRL_MAJOR      @MAJOR@
           28  +#define TCLRL_MINOR      @MINOR@
           29  +#define TCLRL_PATCHLEVEL @PATCHLEVEL@
    18     30   
    19         -/*
    20         - * NOTE, that PATCHLEVEL is the complete version string.
    21         - */
    22         -static char *TCLRL_PATCHLEVEL = "@PATCHLEVEL_STR@";
           31  +#ifdef __cplusplus
           32  +extern "C" {
           33  +#endif
           34  +int Tclreadline_Init(Tcl_Interp *interp);
           35  +int Tclreadline_SafeInit(Tcl_Interp *interp);
           36  +#ifdef __cplusplus
           37  +}
           38  +#endif
    23     39   
           40  +#endif /* TCLREADLINE_H_ */