Mercurial > hg > xemacs-beta
comparison src/array.h @ 5729:f7abcda06b1b
Since stack_like_{malloc,free}() are only used when WIN32_ANY,
define them only that case. See xemacs-patches message
<CAHCOHQmW_HyWn=T8OJYVgp1CGPptFVHW0xPVgoaVJXpu4C0NkA@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Fri, 08 Mar 2013 13:43:06 -0700 |
parents | 308d34e9f07d |
children | e2fae7783046 |
comparison
equal
deleted
inserted
replaced
5728:0e2f2837c2bd | 5729:f7abcda06b1b |
---|---|
606 | 606 |
607 /************************************************************************/ | 607 /************************************************************************/ |
608 /** Stack-like malloc/free **/ | 608 /** Stack-like malloc/free **/ |
609 /************************************************************************/ | 609 /************************************************************************/ |
610 | 610 |
611 #ifdef WIN32_ANY | |
611 void *stack_like_malloc (Bytecount size); | 612 void *stack_like_malloc (Bytecount size); |
612 void stack_like_free (void *val); | 613 void stack_like_free (void *val); |
613 | 614 #endif |
614 | 615 |
615 | 616 |
616 /************************************************************************/ | 617 /************************************************************************/ |
617 /** Gap array **/ | 618 /** Gap array **/ |
618 /************************************************************************/ | 619 /************************************************************************/ |