pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:294:    * a many argument just have a MANY node, and no FUNCTION node.    *    */   static struct block_allocator type_allocator = BA_INIT(sizeof(struct pike_type), 128);      PMOD_EXPORT void really_free_pike_type(struct pike_type * t) {    ba_free(&type_allocator, t);   }      ATTRIBUTE((malloc)) - PMOD_EXPORT struct pike_type * alloc_pike_type() { + PMOD_EXPORT struct pike_type * alloc_pike_type(void) {    return ba_alloc(&type_allocator);   }      PMOD_EXPORT void count_memory_in_pike_types(size_t *n, size_t *s) {    ba_count_all(&type_allocator, n, s);   }      struct pike_type **pike_type_hash = NULL;   size_t pike_type_hash_size = 0;   
pike.git/src/pike_types.c:8462: Inside #if defined(PIKE_DEBUG)
   }   #ifdef PIKE_DEBUG    default:    Pike_fatal("compile_type_string(): Error in type string %d.\n", type);    /* NOT_REACHED */    break;   #endif    }   }    - void type_stack_mark() + void type_stack_mark(void)   {    if(UNLIKELY(Pike_compiler->pike_type_mark_stackp >= pike_type_mark_stack + (PIKE_TYPE_STACK_SIZE>>4)))    Pike_fatal("Type mark stack overflow.\n");    *Pike_compiler->pike_type_mark_stackp=Pike_compiler->type_stackp;    Pike_compiler->pike_type_mark_stackp++;    TYPE_STACK_DEBUG("type_stack_mark");   }      /* Make a pike-type from a serialized (old-style) type. */   struct pike_type *debug_make_pike_type(const char *serialized_type)