summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2000-10-12 18:51:04 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-13 02:55:38 +0000
commit880b20b67e23950959b9017ea50a2f9fe4e915a4 (patch)
treed6c624545c0032f14e11f6fd48aa80a9900245fe /perl.h
parent68a4a7e45ed01889c35c30188ba30508bfc1e5b5 (diff)
downloadperl-880b20b67e23950959b9017ea50a2f9fe4e915a4.tar.gz
IVs in mtats
Message-ID: <20001012225104.A7103@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7214
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/perl.h b/perl.h
index 6873da2893..1ae1bcf21d 100644
--- a/perl.h
+++ b/perl.h
@@ -548,17 +548,6 @@ Free_t Perl_mfree (Malloc_t where);
typedef struct perl_mstats perl_mstats_t;
-struct perl_mstats {
- unsigned long *nfree;
- unsigned long *ntotal;
- long topbucket, topbucket_ev, topbucket_odd, totfree, total, total_chain;
- long total_sbrk, sbrks, sbrk_good, sbrk_slack, start_slack, sbrked_remains;
- long minbucket;
- /* Level 1 info */
- unsigned long *bucket_mem_size;
- unsigned long *bucket_available_size;
-};
-
# define safemalloc Perl_malloc
# define safecalloc Perl_calloc
# define saferealloc Perl_realloc
@@ -1440,6 +1429,18 @@ typedef NVTYPE NV;
#endif
+struct perl_mstats {
+ UV *nfree;
+ UV *ntotal;
+ IV topbucket, topbucket_ev, topbucket_odd, totfree, total, total_chain;
+ IV total_sbrk, sbrks, sbrk_good, sbrk_slack, start_slack, sbrked_remains;
+ IV minbucket;
+ /* Level 1 info */
+ UV *bucket_mem_size;
+ UV *bucket_available_size;
+ UV nbuckets;
+};
+
typedef MEM_SIZE STRLEN;
typedef struct op OP;