Add set_subgrid interface to the C-API
#359
+330
−2
Merged