Mercurial > hg > xemacs-beta
comparison src/blocktype.c @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | 3d6bfa290dbd |
children |
comparison
equal
deleted
inserted
replaced
271:c7b7086b0a39 | 272:c5d627a313b1 |
---|---|
75 { | 75 { |
76 void *next; | 76 void *next; |
77 }; | 77 }; |
78 | 78 |
79 void * | 79 void * |
80 Blocktype_newf (int elsize) | 80 Blocktype_newf (size_t elsize) |
81 { | 81 { |
82 Blocktype *b = xnew (Blocktype); | 82 Blocktype *b = xnew (Blocktype); |
83 b->elsize = max (elsize, sizeof (void *)); | 83 b->elsize = max (elsize, sizeof (void *)); |
84 b->free = 0; | 84 b->free = 0; |
85 return (void *) b; | 85 return (void *) b; |