Branch: Tag:

2016-02-29

2016-02-29 14:45:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC [mappings]: Added do_gc_weak_mapping().

It is now possible to request a quick gc of a mapping with weak references.

164:    */   PMOD_EXPORT void do_free_mapping(struct mapping *m);    + /** Perform a quick gc of the specified weak mapping. +  * +  * @param m The weak mapping to be garbage collected. +  * @return The number of freed elements. +  * +  * @see do_gc +  */ + ptrdiff_t do_gc_weak_mapping(struct mapping *m); +    /** Makes a copy of the passed mapping data and returns it to the caller.    *    * @param md The mapping structure data member to be copied