MCPcopy Create free account
hub / github.com/GNOME/gjs / remove_associated_memory_for_pattern

Function remove_associated_memory_for_pattern

modules/cairo-memory.cpp:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void remove_associated_memory_for_pattern(JSObject* obj,
103 cairo_pattern_t* pattern) {
104 cairo_surface_t* surface;
105 cairo_status_t status = cairo_pattern_get_surface(pattern, &surface);
106 if (status == CAIRO_STATUS_SUCCESS)
107 remove_associated_memory_for_surface(obj, surface);
108}

Callers 1

Tested by

no test coverage detected