pike.git / src / object.h

version» Context lines:

pike.git/src/object.h:142:   PMOD_EXPORT void gc_mark_object_as_referenced(struct object *o);   PMOD_EXPORT void real_gc_cycle_check_object(struct object *o, int weak);      enum memobj_type{    MEMOBJ_NONE,    MEMOBJ_SYSTEM_MEMORY,    MEMOBJ_STRING_BUFFER,    MEMOBJ_STDIO_IOBUFFER,   };    + struct pike_memory_object { +  void *ptr; +  size_t len; +  int shift; + }; +    PMOD_EXPORT enum memobj_type get_memory_object_memory( struct object *o, void **ptr, size_t *len, int *shift ); -  + PMOD_EXPORT enum memobj_type pike_get_memory_object( struct object *o, struct pike_memory_object *m, +  int writeable );         unsigned gc_touch_all_objects(void);   void gc_check_all_objects(void);   void gc_mark_all_objects(void);   void gc_cycle_check_all_objects(void);   void gc_zap_ext_weak_refs_in_objects(void);   size_t gc_free_all_unreferenced_objects(void);   struct magic_index_struct;   void push_magic_index(struct program *type, int inherit_no, int parent_level);