attemping to common callabcks to std.c
This commit is contained in:
parent
712f2c2d10
commit
d32394cdef
@ -53,7 +53,8 @@ pkginclude_HEADERS = \
|
||||
moo-cmn.h \
|
||||
moo-opt.h \
|
||||
moo-rbt.h \
|
||||
moo-utl.h
|
||||
moo-utl.h \
|
||||
moo-std.h
|
||||
|
||||
pkglib_LTLIBRARIES = libmoo.la
|
||||
libmoo_la_SOURCES = \
|
||||
@ -64,6 +65,7 @@ libmoo_la_SOURCES = \
|
||||
moo-rbt.h \
|
||||
moo-utl.h \
|
||||
moo-prv.h \
|
||||
moo-std.h \
|
||||
pack1.h \
|
||||
unpack.h \
|
||||
bigint.c \
|
||||
@ -87,7 +89,8 @@ libmoo_la_SOURCES = \
|
||||
rbt.c \
|
||||
sym.c \
|
||||
utf8.c \
|
||||
utl.c
|
||||
utl.c \
|
||||
std.c
|
||||
libmoo_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
|
||||
libmoo_la_LDFLAGS = $(LDFLAGS_LIB_COMMON)
|
||||
libmoo_la_LIBADD = $(LIBADD_LIB_COMMON)
|
||||
|
@ -173,7 +173,8 @@ am_libmoo_la_OBJECTS = libmoo_la-bigint.lo libmoo_la-comp.lo \
|
||||
libmoo_la-gc.lo libmoo_la-heap.lo libmoo_la-moo.lo \
|
||||
libmoo_la-obj.lo libmoo_la-opt.lo libmoo_la-pf-basic.lo \
|
||||
libmoo_la-pf-sys.lo libmoo_la-pf-utf8.lo libmoo_la-rbt.lo \
|
||||
libmoo_la-sym.lo libmoo_la-utf8.lo libmoo_la-utl.lo
|
||||
libmoo_la-sym.lo libmoo_la-utf8.lo libmoo_la-utl.lo \
|
||||
libmoo_la-std.lo
|
||||
libmoo_la_OBJECTS = $(am_libmoo_la_OBJECTS)
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
@ -403,6 +404,7 @@ pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
runstatedir = @runstatedir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
@ -443,7 +445,8 @@ pkginclude_HEADERS = \
|
||||
moo-cmn.h \
|
||||
moo-opt.h \
|
||||
moo-rbt.h \
|
||||
moo-utl.h
|
||||
moo-utl.h \
|
||||
moo-std.h
|
||||
|
||||
pkglib_LTLIBRARIES = libmoo.la
|
||||
libmoo_la_SOURCES = \
|
||||
@ -454,6 +457,7 @@ libmoo_la_SOURCES = \
|
||||
moo-rbt.h \
|
||||
moo-utl.h \
|
||||
moo-prv.h \
|
||||
moo-std.h \
|
||||
pack1.h \
|
||||
unpack.h \
|
||||
bigint.c \
|
||||
@ -477,7 +481,8 @@ libmoo_la_SOURCES = \
|
||||
rbt.c \
|
||||
sym.c \
|
||||
utf8.c \
|
||||
utl.c
|
||||
utl.c \
|
||||
std.c
|
||||
|
||||
libmoo_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
|
||||
libmoo_la_LDFLAGS = $(LDFLAGS_LIB_COMMON)
|
||||
@ -657,6 +662,7 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-sys.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-utf8.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-rbt.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-std.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-sym.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utf8.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utl.Plo@am__quote@
|
||||
@ -827,6 +833,13 @@ libmoo_la-utl.lo: utl.c
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmoo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libmoo_la-utl.lo `test -f 'utl.c' || echo '$(srcdir)/'`utl.c
|
||||
|
||||
libmoo_la-std.lo: std.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmoo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libmoo_la-std.lo -MD -MP -MF $(DEPDIR)/libmoo_la-std.Tpo -c -o libmoo_la-std.lo `test -f 'std.c' || echo '$(srcdir)/'`std.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmoo_la-std.Tpo $(DEPDIR)/libmoo_la-std.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='std.c' object='libmoo_la-std.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmoo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libmoo_la-std.lo `test -f 'std.c' || echo '$(srcdir)/'`std.c
|
||||
|
||||
moo-main.o: main.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(moo_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT moo-main.o -MD -MP -MF $(DEPDIR)/moo-main.Tpo -c -o moo-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/moo-main.Tpo $(DEPDIR)/moo-main.Po
|
||||
|
25
moo/lib/moo-std.h
Normal file
25
moo/lib/moo-std.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifndef _MOO_STD_H_
|
||||
#define _MOO_STD_H_
|
||||
|
||||
#include <moo.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
MOO_EXPORT moo_t* moo_openstd (
|
||||
moo_oow_t xtnsize,
|
||||
moo_oow_t memsize,
|
||||
moo_errnum_t* errnum
|
||||
);
|
||||
|
||||
MOO_EXPORT void* moo_getxtnstd (
|
||||
moo_t* moo
|
||||
);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
2608
moo/lib/std.c
Normal file
2608
moo/lib/std.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user