Snapshot for the generated files.
This commit is contained in:
parent
510ab69315
commit
e8d03b642c
Binary file not shown.
10
c/scheme48.h
10
c/scheme48.h
|
@ -49,7 +49,7 @@ extern s48_value s48_make_string(int, char);
|
||||||
extern s48_value s48_make_vector(int, s48_value);
|
extern s48_value s48_make_vector(int, s48_value);
|
||||||
extern s48_value s48_enter_byte_vector(char *, int);
|
extern s48_value s48_enter_byte_vector(char *, int);
|
||||||
extern char * s48_extract_byte_vector(s48_value);
|
extern char * s48_extract_byte_vector(s48_value);
|
||||||
extern s48_value s48_make_byte_vector(int);
|
extern s48_value s48_make_byte_vector(int, int);
|
||||||
extern s48_value s48_make_record(s48_value);
|
extern s48_value s48_make_record(s48_value);
|
||||||
extern s48_value s48_make_weak_pointer(s48_value);
|
extern s48_value s48_make_weak_pointer(s48_value);
|
||||||
extern void s48_check_record_type(s48_value, s48_value);
|
extern void s48_check_record_type(s48_value, s48_value);
|
||||||
|
@ -66,7 +66,7 @@ extern s48_value s48_call_scheme(s48_value proc, long nargs, ...);
|
||||||
|
|
||||||
#define S48_EXPORT_FUNCTION(p) (s48_define_exported_binding(#p, s48_enter_pointer(p)))
|
#define S48_EXPORT_FUNCTION(p) (s48_define_exported_binding(#p, s48_enter_pointer(p)))
|
||||||
|
|
||||||
#define S48_MAKE_VALUE(type) (s48_make_byte_vector(sizeof(type)))
|
#define S48_MAKE_VALUE(type) (s48_make_byte_vector(sizeof(type),0))
|
||||||
extern void * s48_value_pointer(s48_value);
|
extern void * s48_value_pointer(s48_value);
|
||||||
|
|
||||||
#define S48_EXTRACT_VALUE_POINTER(x, type) ((type *) s48_value_pointer(x))
|
#define S48_EXTRACT_VALUE_POINTER(x, type) ((type *) s48_value_pointer(x))
|
||||||
|
@ -242,7 +242,7 @@ extern void s48_check_record_type(s48_value record, s48_value type_binding);
|
||||||
#define S48_STOB_REF(x, i) (S48_ADDRESS_AFTER_HEADER(x, s48_value)[i])
|
#define S48_STOB_REF(x, i) (S48_ADDRESS_AFTER_HEADER(x, s48_value)[i])
|
||||||
#define S48_STOB_BYTE_REF(x, i) (((char *)S48_ADDRESS_AFTER_HEADER(x, s48_value))[i])
|
#define S48_STOB_BYTE_REF(x, i) (((char *)S48_ADDRESS_AFTER_HEADER(x, s48_value))[i])
|
||||||
#define S48_STOB_SET(x, i, v) do { s48_value __stob_set_x = (x); long __stob_set_i = (i); s48_value __stob_set_v = (v); if (S48_STOB_IMMUTABLEP(__stob_set_x)) s48_raise_argtype_error(__stob_set_x); else { S48_WRITE_BARRIER((__stob_set_x), (char *) (&S48_STOB_REF((__stob_set_x), (__stob_set_i))),(__stob_set_v)); *(&S48_STOB_REF((__stob_set_x), (__stob_set_i))) = (__stob_set_v); } } while (0)
|
#define S48_STOB_SET(x, i, v) do { s48_value __stob_set_x = (x); long __stob_set_i = (i); s48_value __stob_set_v = (v); if (S48_STOB_IMMUTABLEP(__stob_set_x)) s48_raise_argtype_error(__stob_set_x); else { S48_WRITE_BARRIER((__stob_set_x), (char *) (&S48_STOB_REF((__stob_set_x), (__stob_set_i))),(__stob_set_v)); *(&S48_STOB_REF((__stob_set_x), (__stob_set_i))) = (__stob_set_v); } } while (0)
|
||||||
#define S48_STOB_BYTE_SET(x, i, v) do { char __stob_set_x = (x); long __stob_set_i = (i); s48_value __stob_set_v = (v); if (S48_STOB_IMMUTABLEP(__stob_set_x)) s48_raise_argtype_error(__stob_set_x); else *(&S48_STOB_BYTE_REF((__stob_set_x), (__stob_set_i))) = (__stob_set_v); } while (0)
|
#define S48_STOB_BYTE_SET(x, i, v) do { s48_value __stob_set_x = (x); long __stob_set_i = (i); char __stob_set_v = (v); if (S48_STOB_IMMUTABLEP(__stob_set_x)) s48_raise_argtype_error(__stob_set_x); else *(&S48_STOB_BYTE_REF((__stob_set_x), (__stob_set_i))) = (__stob_set_v); } while (0)
|
||||||
#define S48_STOB_TYPE(x) ((S48_STOB_HEADER(x)>>2)&31)
|
#define S48_STOB_TYPE(x) ((S48_STOB_HEADER(x)>>2)&31)
|
||||||
#define S48_STOB_HEADER(x) (S48_STOB_REF((x),-1))
|
#define S48_STOB_HEADER(x) (S48_STOB_REF((x),-1))
|
||||||
#define S48_STOB_ADDRESS(x) (&(S48_STOB_HEADER(x)))
|
#define S48_STOB_ADDRESS(x) (&(S48_STOB_HEADER(x)))
|
||||||
|
@ -408,12 +408,12 @@ extern void s48_check_record_type(s48_value record, s48_value type_binding);
|
||||||
#define S48_BYTE_VECTOR_REF(x, i) (s48_stob_byte_ref((x), S48_STOBTYPE_BYTE_VECTOR, (i)))
|
#define S48_BYTE_VECTOR_REF(x, i) (s48_stob_byte_ref((x), S48_STOBTYPE_BYTE_VECTOR, (i)))
|
||||||
#define S48_BYTE_VECTOR_SET(x, i, v) (s48_stob_byte_set((x), S48_STOBTYPE_BYTE_VECTOR, (i), (v)))
|
#define S48_BYTE_VECTOR_SET(x, i, v) (s48_stob_byte_set((x), S48_STOBTYPE_BYTE_VECTOR, (i), (v)))
|
||||||
#define S48_UNSAFE_BYTE_VECTOR_REF(x, i) (S48_STOB_BYTE_REF((x), (i)))
|
#define S48_UNSAFE_BYTE_VECTOR_REF(x, i) (S48_STOB_BYTE_REF((x), (i)))
|
||||||
#define S48_UNSAFE_BYTE_VECTOR_SET(x, i, v) S48_BYTE_STOB_SET((x), (i), (v))
|
#define S48_UNSAFE_BYTE_VECTOR_SET(x, i, v) S48_STOB_BYTE_SET((x), (i), (v))
|
||||||
#define S48_STRING_LENGTH(x) (s48_stob_byte_length((x), S48_STOBTYPE_STRING))
|
#define S48_STRING_LENGTH(x) (s48_stob_byte_length((x), S48_STOBTYPE_STRING))
|
||||||
#define S48_STRING_REF(x, i) (s48_stob_byte_ref((x), S48_STOBTYPE_STRING, (i)))
|
#define S48_STRING_REF(x, i) (s48_stob_byte_ref((x), S48_STOBTYPE_STRING, (i)))
|
||||||
#define S48_STRING_SET(x, i, v) (s48_stob_byte_set((x), S48_STOBTYPE_STRING, (i), (v)))
|
#define S48_STRING_SET(x, i, v) (s48_stob_byte_set((x), S48_STOBTYPE_STRING, (i), (v)))
|
||||||
#define S48_UNSAFE_STRING_REF(x, i) (S48_STOB_BYTE_REF((x), (i)))
|
#define S48_UNSAFE_STRING_REF(x, i) (S48_STOB_BYTE_REF((x), (i)))
|
||||||
#define S48_UNSAFE_STRING_SET(x, i, v) S48_BYTE_STOB_SET((x), (i), (v))
|
#define S48_UNSAFE_STRING_SET(x, i, v) S48_STOB_BYTE_SET((x), (i), (v))
|
||||||
#define S48_UNSAFE_BYTE_VECTOR_LENGTH(x) (S48_STOB_BYTE_LENGTH(x))
|
#define S48_UNSAFE_BYTE_VECTOR_LENGTH(x) (S48_STOB_BYTE_LENGTH(x))
|
||||||
#define S48_UNSAFE_STRING_LENGTH(x) (S48_STOB_BYTE_LENGTH(x) - 1)
|
#define S48_UNSAFE_STRING_LENGTH(x) (S48_STOB_BYTE_LENGTH(x) - 1)
|
||||||
#define S48_UNSAFE_EXTRACT_STRING(x) (S48_ADDRESS_AFTER_HEADER((x), char))
|
#define S48_UNSAFE_EXTRACT_STRING(x) (S48_ADDRESS_AFTER_HEADER((x), char))
|
||||||
|
|
792
c/scheme48heap.c
792
c/scheme48heap.c
File diff suppressed because it is too large
Load Diff
3750
c/scheme48vm.c
3750
c/scheme48vm.c
File diff suppressed because it is too large
Load Diff
|
@ -13,6 +13,10 @@
|
||||||
/* Define as the return type of signal handlers (int or void). */
|
/* Define as the return type of signal handlers (int or void). */
|
||||||
#undef RETSIGTYPE
|
#undef RETSIGTYPE
|
||||||
|
|
||||||
|
/* Define if your processor stores words with the most significant
|
||||||
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||||
|
#undef WORDS_BIGENDIAN
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* HAVE_SIGACTION is defined iff sigaction() is available.
|
* HAVE_SIGACTION is defined iff sigaction() is available.
|
||||||
*/
|
*/
|
||||||
|
@ -45,6 +49,13 @@
|
||||||
*/
|
*/
|
||||||
#undef HAVE_DLOPEN 1
|
#undef HAVE_DLOPEN 1
|
||||||
|
|
||||||
|
/* Define if your sys_errlist is a const definition */
|
||||||
|
#undef HAVE_CONST_SYS_ERRLIST
|
||||||
|
|
||||||
|
/* Define if you have the nlist() function. This is a
|
||||||
|
not-very-portable way of looking up external symbols. */
|
||||||
|
#undef HAVE_NLIST
|
||||||
|
|
||||||
/* Define if you have the chroot function. */
|
/* Define if you have the chroot function. */
|
||||||
#undef HAVE_CHROOT
|
#undef HAVE_CHROOT
|
||||||
|
|
||||||
|
@ -69,9 +80,15 @@
|
||||||
/* Define if you have the socket function. */
|
/* Define if you have the socket function. */
|
||||||
#undef HAVE_SOCKET
|
#undef HAVE_SOCKET
|
||||||
|
|
||||||
|
/* Define if you have the <crypt.h> header file. */
|
||||||
|
#undef HAVE_CRYPT_H
|
||||||
|
|
||||||
/* Define if you have the <libgen.h> header file. */
|
/* Define if you have the <libgen.h> header file. */
|
||||||
#undef HAVE_LIBGEN_H
|
#undef HAVE_LIBGEN_H
|
||||||
|
|
||||||
|
/* Define if you have the <nlist.h> header file. */
|
||||||
|
#undef HAVE_NLIST_H
|
||||||
|
|
||||||
/* Define if you have the <posix/time.h> header file. */
|
/* Define if you have the <posix/time.h> header file. */
|
||||||
#undef HAVE_POSIX_TIME_H
|
#undef HAVE_POSIX_TIME_H
|
||||||
|
|
||||||
|
@ -81,6 +98,12 @@
|
||||||
/* Define if you have the <sys/timeb.h> header file. */
|
/* Define if you have the <sys/timeb.h> header file. */
|
||||||
#undef HAVE_SYS_TIMEB_H
|
#undef HAVE_SYS_TIMEB_H
|
||||||
|
|
||||||
|
/* Define if you have the <sys/un.h> header file. */
|
||||||
|
#undef HAVE_SYS_UN_H
|
||||||
|
|
||||||
|
/* Define if you have the crypt library (-lcrypt). */
|
||||||
|
#undef HAVE_LIBCRYPT
|
||||||
|
|
||||||
/* Define if you have the dl library (-ldl). */
|
/* Define if you have the dl library (-ldl). */
|
||||||
#undef HAVE_LIBDL
|
#undef HAVE_LIBDL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue