From bd6d7eb48942da36fb80f1aff77e5d1a9981ea6b Mon Sep 17 00:00:00 2001 From: Nick Spagnola Date: Mon, 29 Jun 2020 07:00:28 -0700 Subject: [PATCH] cleanup comments --- c/src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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| {