ml_memory_record *memory_limiter::find_individual(int individual) const
{
- ml_memory_record *to_return = NIL;
- if (!_individual_sizes->find(individual, to_return)) return NIL;
+ ml_memory_record *to_return = NULL_POINTER;
+ if (!_individual_sizes->find(individual, to_return)) return NULL_POINTER;
// no record for that guy.
return to_return;
}
bool memory_limiter::okay_allocation(int individual, int memory_desired)
{
-// FUNCDEF("okay_allocation");
+ FUNCDEF("okay_allocation");
// check the overall allocation limits first.
if (_overall_limit
&& (_overall_size + memory_desired > _overall_limit) ) return false;