Kaydet (Commit) 7c6b4285 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make sure MetadataImporterPluginFactory has external linkage

Otherwise, in a LO built with hidden visibility (as gcc terminology,
not ELF, Mac OS X does not use ELF), Spotlight won't be able to use
our importer.

Change-Id: Ie19082f9f14e4cc75ae6f7583031b929b7b75330
üst c5c5d87e
...@@ -212,6 +212,7 @@ ULONG MetadataImporterPluginRelease(void *thisInstance) ...@@ -212,6 +212,7 @@ ULONG MetadataImporterPluginRelease(void *thisInstance)
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// Implementation of the factory function for this type. // Implementation of the factory function for this type.
// //
__attribute__ ((visibility("default")))
void * void *
MetadataImporterPluginFactory(CFAllocatorRef allocator, CFUUIDRef typeID) MetadataImporterPluginFactory(CFAllocatorRef allocator, CFUUIDRef typeID)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment