*** empty log message ***

This commit is contained in:
2005-05-08 10:39:40 +00:00
parent 98f668d66f
commit 273adcb58d
5 changed files with 47 additions and 5 deletions

16
ase/test/stx/makefile.in Normal file
View File

@ -0,0 +1,16 @@
SRCS = stx.c
OUTS = $(SRCS:.c=.x)
CC = @CC@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/lisp
LIBS = @LIBS@ -lxpstx -lxpbas
all: $(OUTS)
clean:
rm -rf $(OUTS) *.o
.SUFFIXES: .c .x
.c.x:
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)

View File

@ -15,6 +15,10 @@ int xp_main ()
stx.true = xp_stx_memory_alloc(&stx.memory, 0);
stx.false = xp_stx_memory_alloc(&stx.memory, 0);
xp_printf (XP_TEXT("stx.nil %d\n"), stx.nil);
xp_printf (XP_TEXT("stx.true %d\n"), stx.true);
xp_printf (XP_TEXT("stx.false %d\n"), stx.false);
for (i = 0; i < 20; i++) {
xp_printf (XP_TEXT("%d, %d\n"),
i, xp_stx_memory_alloc(&stx.memory, 100));