comparison src/alloc.c @ 44100:57e965380c39

(check_pure_size): Only output a warning.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 22 Mar 2002 22:53:23 +0000
parents c82e347557f1
children a3e6cfa20afd
comparison
equal deleted inserted replaced
44099:0400b67840ba 44100:57e965380c39
3841 3841
3842 void 3842 void
3843 check_pure_size () 3843 check_pure_size ()
3844 { 3844 {
3845 if (pure_bytes_used_before_overflow) 3845 if (pure_bytes_used_before_overflow)
3846 error ("Pure Lisp storage overflow (approx. %d bytes needed)", 3846 message ("Pure Lisp storage overflow (approx. %d bytes needed)",
3847 (int) (pure_bytes_used + pure_bytes_used_before_overflow)); 3847 (int) (pure_bytes_used + pure_bytes_used_before_overflow));
3848 } 3848 }
3849 3849
3850 3850
3851 /* Return a string allocated in pure space. DATA is a buffer holding 3851 /* Return a string allocated in pure space. DATA is a buffer holding
3852 NCHARS characters, and NBYTES bytes of string data. MULTIBYTE 3852 NCHARS characters, and NBYTES bytes of string data. MULTIBYTE