Changeset 15730


Ignore:
Timestamp:
Jan 7, 2006, 11:08:58 PM (12 years ago)
Author:
jberry
Message:

Add readline and rl_history support to pextlib
Part of merge from branch jberry-preview-13

Location:
trunk/base/src/pextlib1.0
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/pextlib1.0/Makefile

    r13713 r15730  
    11OBJS=           Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o \
    22                find.o strcasecmp.o vercomp.o filemap.o \
    3                 sha1cmd.o compat.o curl.o rmd160cmd.o
     3                sha1cmd.o compat.o curl.o rmd160cmd.o readline.o
    44SHLIB_NAME=     Pextlib${SHLIB_SUFFIX}
    55INSTALLDIR= ${DESTDIR}${datadir}/darwinports/Tcl/pextlib1.0
  • trunk/base/src/pextlib1.0/Pextlib.c

    r13644 r15730  
    11/*
    22 * Pextlib.c
    3  * $Id: Pextlib.c,v 1.83 2005/08/24 01:59:44 pguyot Exp $
     3 * $Id: Pextlib.c,v 1.84 2006/01/07 23:08:58 jberry Exp $
    44 *
    55 * Copyright (c) 2002 - 2003 Apple Computer, Inc.
     
    112112#include "vercomp.h"
    113113#include "compat.h"
     114#include "readline.h"
    114115
    115116#if HAVE_CRT_EXTERNS_H
     
    11191120        Tcl_CreateObjCommand(interp, "pipe", PipeCmd, NULL, NULL);
    11201121        Tcl_CreateObjCommand(interp, "curl", CurlCmd, NULL, NULL);
    1121 
     1122        Tcl_CreateObjCommand(interp, "readline", ReadlineCmd, NULL, NULL);
     1123        Tcl_CreateObjCommand(interp, "rl_history", RLHistoryCmd, NULL, NULL);
     1124       
    11221125        if (Tcl_PkgProvide(interp, "Pextlib", "1.0") != TCL_OK)
    11231126                return TCL_ERROR;
Note: See TracChangeset for help on using the changeset viewer.