77*/
88module corefoundation.cfbundle ;
99import corefoundation.cfallocator;
10+ import corefoundation.cfdictionary;
1011import corefoundation.cfstring;
12+ import corefoundation.cfarray;
13+ import corefoundation.cferror;
14+ import corefoundation.cfurl;
1115import corefoundation.core;
1216import foundation.nsbundle;
1317
@@ -17,7 +21,7 @@ extern(C) @nogc nothrow:
1721 A reference to a CFBundle object.
1822*/
1923alias CFBundleRef = CFSubType! (" CFBundle" , NSBundle);
20- alias CFPluginRef = CFBundleRef; // / ditto
24+ alias CFPlugInRef = CFBundleRef; // / ditto
2125
2226/**
2327 Bundle Reference Number
@@ -266,9 +270,9 @@ extern Boolean CFBundleLoadExecutable(CFBundleRef bundle);
266270extern Boolean CFBundleIsExecutableLoaded(CFBundleRef bundle);
267271extern void CFBundleUnloadExecutable(CFBundleRef bundle);
268272extern void * CFBundleGetFunctionPointerForName(CFBundleRef bundle, CFStringRef functionName);
269- extern void CFBundleGetFunctionPointersForNames(CFBundleRef bundle, CFArrayRef functionNames, void * ftbl[] );
273+ extern void CFBundleGetFunctionPointersForNames(CFBundleRef bundle, CFArrayRef functionNames, void ** ftbl);
270274extern void * CFBundleGetDataPointerForName(CFBundleRef bundle, CFStringRef symbolName);
271- extern void CFBundleGetDataPointersForNames(CFBundleRef bundle, CFArrayRef symbolNames, void * stbl[] );
275+ extern void CFBundleGetDataPointersForNames(CFBundleRef bundle, CFArrayRef symbolNames, void ** stbl);
272276
273277/**
274278 This function can be used to find executables other than your main
@@ -285,7 +289,7 @@ extern CFPlugInRef CFBundleGetPlugIn(CFBundleRef bundle);
285289version (OSX ) {
286290 extern Boolean CFBundleIsExecutableLoadable(CFBundleRef bundle);
287291 extern Boolean CFBundleIsExecutableLoadableForURL(CFURLRef url);
288- extern Boolean CFBundleIsArchitectureLoadable(cpu_type_t arch);
292+ // extern Boolean CFBundleIsArchitectureLoadable(cpu_type_t arch);
289293
290294 /**
291295 This function opens the non-localized and the localized resource files
0 commit comments