Issue #19: Implement external_renderer_new_with_so()

This commit is contained in:
Mario Hüttel 2019-06-18 21:10:53 +02:00
parent f224b28613
commit d5f1b2edf4

View File

@ -176,4 +176,9 @@ ExternalRenderer *external_renderer_new()
return g_object_new(GDS_RENDER_TYPE_EXTERNAL_RENDERER, NULL);
}
ExternalRenderer *external_renderer_new_with_so(const char *so_path)
{
return g_object_new(GDS_RENDER_TYPE_EXTERNAL_RENDERER, "shared-object-path", so_path, NULL);
}
/** @} */