cleanup comments
This commit is contained in:
parent
43bc5a5829
commit
bd6d7eb489
|
@ -508,7 +508,8 @@ pub unsafe extern "C" fn PFFillStyleDestroy(fill_style: PFFillStyleRef) {
|
||||||
drop(Box::from_raw(fill_style))
|
drop(Box::from_raw(fill_style))
|
||||||
}
|
}
|
||||||
|
|
||||||
// `gl`
|
// `resources`
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub unsafe extern "C" fn PFEmbeddedResourceLoaderCreate() -> PFResourceLoaderRef {
|
pub unsafe extern "C" fn PFEmbeddedResourceLoaderCreate() -> PFResourceLoaderRef {
|
||||||
let loader = Box::new(EmbeddedResourceLoader::new());
|
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<dyn ResourceLoader>)))
|
Box::into_raw(Box::new(ResourceLoaderWrapper(loader as Box<dyn ResourceLoader>)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// `gl`
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub unsafe extern "C" fn PFGLLoadWith(loader: PFGLFunctionLoader, userdata: *mut c_void) {
|
pub unsafe extern "C" fn PFGLLoadWith(loader: PFGLFunctionLoader, userdata: *mut c_void) {
|
||||||
gl::load_with(|name| {
|
gl::load_with(|name| {
|
||||||
|
|
Loading…
Reference in New Issue