[sgen] Don't return a pointer from the out-of-memory function.
[mono.git] / mono / metadata / sgen-client.h
index c805dcc7f005186a2af190886e2b15389b5b0516..824db873ee73ed717f2ab50eedc88a8768870f84 100644 (file)
@@ -80,7 +80,7 @@ void sgen_client_degraded_allocation (size_t size);
 
 void sgen_client_total_allocated_heap_changed (size_t allocated_heap_size);
 
-gpointer sgen_client_out_of_memory (size_t size);
+void sgen_client_out_of_memory (size_t size);
 
 /*
  * If the client has registered any internal memory types, this must return a string