1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-10 01:34:36 -08:00

Mps: adjusting list of exported functions.

Copied from Perforce
 Change: 134028
 ServerID: perforce.ravenbrook.com
This commit is contained in:
David Jones 2004-12-16 16:58:49 +00:00
parent 884427cda4
commit cb0defd646
5 changed files with 21 additions and 41 deletions

View file

@ -268,11 +268,6 @@
#elif defined(CONFIG_PROD_DYLAN)
#define MPS_PROD_STRING "dylan"
#define MPS_PROD_DYLAN
/* .prod.arena-size: ARENA_SIZE is currently set larger for the
* MM/Dylan product as an interim solution.
* See request.dylan.170170.sol.patch and change.dylan.buffalo.170170.
*/
#define ARENA_SIZE ((Size)1<<30)
#define ARENA_INIT_SPARE_COMMIT_LIMIT ((Size)10uL*1024uL*1024uL)
#define THREAD_MULTI
#define PROTECTION
@ -292,6 +287,14 @@
#error "No target product configured."
#endif
/* .prod.arena-size: ARENA_SIZE is currently set larger for the
* MM/Dylan product as an interim solution.
* See request.dylan.170170.sol.patch and change.dylan.buffalo.170170.
* Note that this define is only used by the implementation of the
* deprecated mps_space_create interface.
*/
#define ARENA_SIZE ((Size)1<<30)
/* if CHECK_DEFAULT hasn't been defined already (e.g. by a variety, or
* in a makefile), take the value from the product. */

View file

@ -71,7 +71,10 @@ tu () {
# This list of header files is produced by
# awk '/^copy.*\.h/{print $2}' w3build.bat
# followed by manual removal of mpsw3.h mpswin.h.
# followed by manual removal of mpsw3.h mpswin.h (which gcc on UNIX
# cannot parse). Also removed are mpsio.h mpslib.h as they defined
# interfaces that mps _uses_ not defines. Also removed is mpscmvff.h as
# it does not get included in mps.lib
# The functions declared in mpsw3.h have to be added to the .def file by
# hand later in this script.
f='mps.h
@ -82,10 +85,7 @@ mpscams.h
mpscawl.h
mpsclo.h
mpscmv.h
mpscmvff.h
mpscsnc.h
mpsio.h
mpslib.h
mpstd.h'
tu $f
@ -107,7 +107,7 @@ do
done
{
printf '%sHeader%s\n' '$' '$'
printf '; %sHeader%s\n' '$' '$'
echo '; DO NOT EDIT. Automatically generated by $Header$' | sed 's/\$/!/g'
echo 'EXPORTS'
cat expgen

View file

@ -273,7 +273,10 @@ extern mps_bool_t mps_arena_has_addr(mps_arena_t, mps_addr_t);
/* Client memory arenas */
extern mps_res_t mps_arena_extend(mps_arena_t, mps_addr_t, size_t);
#if 0
/* There's no implementation for this function. */
extern mps_res_t mps_arena_retract(mps_arena_t, mps_addr_t, size_t);
#endif
/* Object Formats */

View file

@ -443,12 +443,11 @@ mps_res_t mps_arena_create_v(mps_arena_t *mps_arena_o,
return MPS_RES_OK;
}
#ifdef MPS_PROD_DYLAN
/* DEPRECATED */
mps_res_t mps_space_create(mps_space_t *mps_space_o)
{
return mps_arena_create(mps_space_o, mps_arena_class_vm(), ARENA_SIZE);
}
#endif
/* mps_arena_destroy -- destroy an arena object */
@ -461,12 +460,11 @@ void mps_arena_destroy(mps_arena_t mps_arena)
ArenaDestroy(arena);
}
#ifdef MPS_PROD_DYLAN
/* DEPRECATED */
void mps_space_destroy(mps_space_t mps_space)
{
mps_arena_destroy(mps_space);
}
#endif
/* mps_arena_has_addr -- is this address managed by this arena? */

View file

@ -1,5 +1,5 @@
$Header$
; DO NOT EDIT. Automatically generated by !Header!
; $Header$
; DO NOT EDIT. Automatically generated by !Header: //info.ravenbrook.com/project/mps/branch/2004-12-15/dll/code/expgen.sh#1 !
EXPORTS
; mps.h
mps_ap_fill_with_reservoir_permit
@ -22,12 +22,11 @@ mps_fmt_create_fixed
mps_fmt_create_auto_header
mps_fmt_create_B
mps_fmt_create_A
mps_arena_retract
mps_arena_extend
mps_arena_has_addr
mps_space_committed
mps_arena_formatted_objects_walk
mps_space_reserved
mps_arena_formatted_objects_walk
mps_arena_spare_commit_limit
mps_arena_spare_commit_limit_set
mps_arena_commit_limit_set
@ -132,31 +131,8 @@ mps_mv_size
mps_class_mv_debug
mps_mv_free_size
mps_class_mv
; mpscmvff.h
mps_mvff_size
mps_class_mvff_debug
mps_mvff_free_size
mps_class_mvff
; mpscsnc.h
mps_class_snc
; mpsio.h
mps_io_flush
mps_io_destroy
mps_io_create
mps_io_write
; mpslib.h
mps_lib_fputc
mps_lib_get_stdout
mps_lib_get_stderr
mps_lib_get_EOF
mps_clock
mps_lib_telemetry_control
mps_lib_memcmp
mps_lib_memcpy
mps_lib_memset
mps_clocks_per_sec
mps_lib_assert_fail
mps_lib_fputs
; mpstd.h
; mpsw3.h - by hand
mps_SEH_filter