examples/excallback.c: Jeff Solomon's alternate interface example

This patch adds the unmodified excallback.c from readline.  It was
originally contributed by Jeff Solomon as an example of the alternate
interface to readline.

The following set of patches modify it to work with editline.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-12-02 18:46:48 +01:00
parent 94b1a78444
commit 69d9e549a0
2 changed files with 189 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
noinst_PROGRAMS = testit cli
noinst_PROGRAMS = testit cli excallback
LDADD = $(top_builddir)/src/libeditline.la
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
AM_LDFLAGS = -static