Differences From Artifact [8cafeaba3c]:
- File src/bag.c — part of check-in [8f41b2fa75] at 2010-10-15 17:13:17 on branch trunk — Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. (user: drh size: 5299) [more...]
To Artifact [9f75b13a7c]:
- File src/bag.c — part of check-in [a496d8e88d] at 2012-03-29 14:54:45 on branch mgagnon_fix — Add vim modline everywhere (user: mgagnon size: 5341)
| ︙ | ︙ | |||
225 226 227 228 229 230 231 |
/*
** Return the number of elements in the bag.
*/
int bag_count(Bag *p){
return p->cnt;
}
| > > > > > | 225 226 227 228 229 230 231 232 233 234 235 236 |
/*
** Return the number of elements in the bag.
*/
int bag_count(Bag *p){
return p->cnt;
}
/*
* vim:ts=2:sts=2:et:sw=2:ft=c
*/
|