diff --git a/c/src/lib.rs b/c/src/lib.rs index 9472423b..cba5851e 100644 --- a/c/src/lib.rs +++ b/c/src/lib.rs @@ -508,7 +508,8 @@ pub unsafe extern "C" fn PFFillStyleDestroy(fill_style: PFFillStyleRef) { drop(Box::from_raw(fill_style)) } -// `gl` +// `resources` + #[no_mangle] pub unsafe extern "C" fn PFEmbeddedResourceLoaderCreate() -> PFResourceLoaderRef { let loader = Box::new(EmbeddedResourceLoader::new()); @@ -529,6 +530,9 @@ pub unsafe extern "C" fn PFFilesystemResourceLoaderFromPath(path: *const c_char) Box::into_raw(Box::new(ResourceLoaderWrapper(loader as Box))) } + +// `gl` + #[no_mangle] pub unsafe extern "C" fn PFGLLoadWith(loader: PFGLFunctionLoader, userdata: *mut c_void) { gl::load_with(|name| {