1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

12 commits

Author SHA1 Message Date
Rob Browning
9b90309501 * alloca.c: #include <config.h> if HAVE_CONFIG_H. 2003-03-25 23:52:25 +00:00
Han-Wen Nienhuys
67329a9eef * mallocs.c (scm_malloc_obj): use scm_gc_malloc in stead of
malloc.

* gc-segment.c (scm_i_get_new_heap_segment): remove cluster cruft:
only use SCM_MIN_HEAP_SEG_SIZE.

* ports.c (scm_add_to_port_table): add backwards compatibility
function

* ports.h: use scm_i_ prefix for port table and port table size.
2002-08-16 22:01:10 +00:00
Thien-Thi Nguyen
a06e3a75b2 Remove "face-lift" comment. 2001-07-09 07:36:48 +00:00
Dirk Herrmann
a8a11001f9 * Fixed include file problem reported by Bruce Korb. 2000-10-12 07:59:02 +00:00
Mikael Djurfeldt
a059974535 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
and we don't want that.
(INCLUDES): Removed all -I options except for the root source
directory and the root build directory.

* *.*: Change includes so that they always use the "prefixes"
libguile/, qt/, guile-readline/, or libltdl/.
(Thanks to Tim Mooney.)
2000-04-21 14:16:44 +00:00
Michael Livshin
89e00824a0 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
indentation style.
2000-03-19 19:01:16 +00:00
Greg J. Badros
6e8d25a695 * *.c: Finish replacing K&R style prototypes with ANSI C
prototypes.

* eval.c: Make scm_m_mody's 3rd argument be a const char *, not a
char *.  ANSI prototypes caught this.

* strorder.c: Use GUILE_PROC1 for the couple SCM_PROC1 expansions
that I missed.

* scm_validate.h: Use SCM_BOOLP for validating bools.  Do not
expand macros if SCM_DOCSTRING_SNARF.
1999-12-12 20:35:02 +00:00
Jim Blandy
a0a06f4101 * alloca.c (alloca): Cast value returned by malloc. (Thanks to
Christian Lynbech.)
1999-01-11 08:06:18 +00:00
Jim Blandy
f122e56eda * alloca.c (alloca): Undo yesterday's changes, and simply call
malloc directly for storage, and abort if we don't get what we
want.  The situation is much simpler --- just call malloc.  Emacs
has bizarre/evil requirements (signal handlers might malloc unless
you set this global flag, so you have to set the flag around all
calls to malloc) which we are certainly not going to conform to,
so we can do the simple and obvious thing.
1998-10-04 12:59:41 +00:00
Jim Blandy
ce6ed4bae6 * alloca.c: Use scm_must_malloc to obtain storage. Hopefully this
works; I can't conveniently test it myself.  (Thanks to Dvid
Tillman for the bug report.)
1998-10-03 19:51:05 +00:00
Jim Blandy
5ac58d89ab * alloca.c: #include <scmconfig.h>, not <config.h>.
* Makefile.am (EXTRA_libguile_la_SOURCES): Mention alloca.c, so
it'll get included in disties.
1997-04-19 13:25:09 +00:00
Jim Blandy
2b6b80bc0b * alloca.c: New file, needed to support the AC_FUNC_ALLOCA call in
configure.in.  Including this might cause problems if applications
that link against libguile include their own copies of alloca, but
if they're using autoconf, they should be adding libguile to LIBS
before calling AC_FUNC_ALLOCA anyway, in which case they'll find
the copy in libguile, and things will be okay.  (I think.)
1997-02-07 22:37:10 +00:00