Fix to ensure correct version of mheader fiel is imported

This commit is contained in:
rfm 2023-10-30 14:30:06 +00:00
parent 1cce7e97e2
commit 8b4a8820a8
28 changed files with 63 additions and 62 deletions

View file

@ -25,7 +25,7 @@
#ifndef __GSInvocation_h_GNUSTEP_BASE_INCLUDE #ifndef __GSInvocation_h_GNUSTEP_BASE_INCLUDE
#define __GSInvocation_h_GNUSTEP_BASE_INCLUDE #define __GSInvocation_h_GNUSTEP_BASE_INCLUDE
#include <Foundation/NSInvocation.h> #import "Foundation/NSInvocation.h"
@class NSMutableData; @class NSMutableData;

View file

@ -54,9 +54,9 @@
NSTimeInterval GSPrivateTimeNow() GS_ATTRIB_PRIVATE; NSTimeInterval GSPrivateTimeNow() GS_ATTRIB_PRIVATE;
#include "GNUstepBase/GSObjCRuntime.h" #import "GNUstepBase/GSObjCRuntime.h"
#include "Foundation/NSArray.h" #import "Foundation/NSArray.h"
#ifdef __GNUSTEP_RUNTIME__ #ifdef __GNUSTEP_RUNTIME__
struct objc_category; struct objc_category;
@ -87,7 +87,7 @@ typedef struct objc_category* Category;
} }
@end @end
#include "Foundation/NSString.h" #import "Foundation/NSString.h"
/** /**
* Macro to manage memory for chunks of code that need to work with * Macro to manage memory for chunks of code that need to work with

View file

@ -22,7 +22,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSAppleEventDescriptor.h> #import "Foundation/NSAppleEventDescriptor.h"
@implementation NSAppleEventDescriptor @implementation NSAppleEventDescriptor

View file

@ -22,7 +22,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSAppleEventManager.h> #import "Foundation/NSAppleEventManager.h"
@implementation NSAppleEventManager @implementation NSAppleEventManager

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSAppleScript.h> #import "Foundation/NSAppleScript.h"
@implementation NSAppleScript @implementation NSAppleScript

View file

@ -29,8 +29,8 @@
/**** Included Headers *******************************************************/ /**** Included Headers *******************************************************/
#include "Foundation/NSObject.h" #import "Foundation/NSObject.h"
#include "Foundation/NSString.h" #import "Foundation/NSString.h"
#if ( (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) ) && HAVE_VISIBILITY_ATTRIBUTE ) #if ( (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) ) && HAVE_VISIBILITY_ATTRIBUTE )

View file

@ -22,12 +22,12 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSDateComponentsFormatter.h> #import "Foundation/NSDateComponentsFormatter.h"
#include <Foundation/NSDate.h> #import "Foundation/NSDate.h"
#include <Foundation/NSString.h> #import "Foundation/NSString.h"
#include <Foundation/NSValue.h> #import "Foundation/NSValue.h"
#include <Foundation/NSException.h> #import "Foundation/NSException.h"
#include <Foundation/NSNumberFormatter.h> #import "Foundation/NSNumberFormatter.h"
@implementation NSDateComponentsFormatter @implementation NSDateComponentsFormatter

View file

@ -22,10 +22,10 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSDateInterval.h> #import "Foundation/NSDateInterval.h"
#include <Foundation/NSDate.h> #import "Foundation/NSDate.h"
#include <Foundation/NSArray.h> #import "Foundation/NSArray.h"
#include <Foundation/NSException.h> #import "Foundation/NSException.h"
@implementation NSDateInterval @implementation NSDateInterval

View file

@ -22,13 +22,13 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSDateIntervalFormatter.h> #import "Foundation/NSDateIntervalFormatter.h"
#include <Foundation/NSLocale.h> #import "Foundation/NSLocale.h"
#include <Foundation/NSCalendar.h> #import "Foundation/NSCalendar.h"
#include <Foundation/NSTimeZone.h> #import "Foundation/NSTimeZone.h"
#include <Foundation/NSString.h> #import "Foundation/NSString.h"
#include <Foundation/NSDate.h> #import "Foundation/NSDate.h"
#include <Foundation/NSDateInterval.h> #import "Foundation/NSDateInterval.h"
@implementation NSDateIntervalFormatter @implementation NSDateIntervalFormatter
// Properties // Properties

View file

@ -22,11 +22,12 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSExtensionContext.h> #import "Foundation/NSExtensionContext.h"
#include <Foundation/NSError.h> #import "Foundation/NSError.h"
#include <Foundation/NSArray.h> #import "Foundation/NSArray.h"
#include <Foundation/NSURL.h> #import "Foundation/NSURL.h"
#include <Foundation/NSString.h> #import "Foundation/NSString.h"
#import "GNUstepBase/NSObject+GNUstepBase.h"
@implementation NSExtensionContext @implementation NSExtensionContext

View file

@ -22,10 +22,10 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSExtensionItem.h> #import "Foundation/NSExtensionItem.h"
#include <Foundation/NSAttributedString.h> #import "Foundation/NSAttributedString.h"
#include <Foundation/NSDictionary.h> #import "Foundation/NSDictionary.h"
#include <Foundation/NSArray.h> #import "Foundation/NSArray.h"
@implementation NSExtensionItem @implementation NSExtensionItem

View file

@ -23,16 +23,16 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSFileVersion.h> #import "Foundation/NSFileVersion.h"
#include <Foundation/NSArray.h> #import "Foundation/NSArray.h"
#include <Foundation/NSDictionary.h> #import "Foundation/NSDictionary.h"
#include <Foundation/NSDate.h> #import "Foundation/NSDate.h"
#include <Foundation/NSError.h> #import "Foundation/NSError.h"
#include <Foundation/NSString.h> #import "Foundation/NSString.h"
#include <Foundation/NSURL.h> #import "Foundation/NSURL.h"
#include <Foundation/NSPersonNameComponents.h> #import "Foundation/NSPersonNameComponents.h"
#include <Foundation/NSFileManager.h> #import "Foundation/NSFileManager.h"
#include <Foundation/NSData.h> #import "Foundation/NSData.h"
@interface NSFileVersion (Private) @interface NSFileVersion (Private)
- (void) _setURL: (NSURL *)u; - (void) _setURL: (NSURL *)u;

View file

@ -22,7 +22,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSHFSFileTypes.h> #import "Foundation/NSHFSFileTypes.h"
GS_DECLARE NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode) GS_DECLARE NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode)
{ {

View file

@ -22,7 +22,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSItemProviderReadingWriting.h> #import "Foundation/NSItemProviderReadingWriting.h"
@implementation NSItemProviderReadingWriting @implementation NSItemProviderReadingWriting

View file

@ -22,8 +22,8 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSMetadataAttributes.h> #import "Foundation/NSMetadataAttributes.h"
#include <Foundation/NSString.h> #import "Foundation/NSString.h"
GS_DECLARE NSString *const NSMetadataItemAcquisitionMakeKey = @"NSMetadataItemAcquisitionMakeKey"; GS_DECLARE NSString *const NSMetadataItemAcquisitionMakeKey = @"NSMetadataItemAcquisitionMakeKey";
GS_DECLARE NSString *const NSMetadataItemAcquisitionModelKey = @"NSMetadataItemAcquisitionModelKey"; GS_DECLARE NSString *const NSMetadataItemAcquisitionModelKey = @"NSMetadataItemAcquisitionModelKey";

View file

@ -22,7 +22,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSObjectScripting.h> #import "Foundation/NSObjectScripting.h"
@implementation NSObjectScripting @implementation NSObjectScripting

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptClassDescription.h> #import "Foundation/NSScriptClassDescription.h"
@implementation NSScriptClassDescription @implementation NSScriptClassDescription

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptCoercionHandler.h> #import "Foundation/NSScriptCoercionHandler.h"
@implementation NSScriptCoercionHandler @implementation NSScriptCoercionHandler

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptCommand.h> #import "Foundation/NSScriptCommand.h"
@implementation NSScriptCommand @implementation NSScriptCommand

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptCommandDescription.h> #import "Foundation/NSScriptCommandDescription.h"
@implementation NSScriptCommandDescription @implementation NSScriptCommandDescription

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptExecutionContext.h> #import "Foundation/NSScriptExecutionContext.h"
@implementation NSScriptExecutionContext @implementation NSScriptExecutionContext

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptKeyValueCoding.h> #import "Foundation/NSScriptKeyValueCoding.h"
@implementation NSScriptKeyValueCoding @implementation NSScriptKeyValueCoding

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptObjectSpecifiers.h> #import "Foundation/NSScriptObjectSpecifiers.h"
@implementation NSScriptObjectSpecifiers @implementation NSScriptObjectSpecifiers

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptStandardSuiteCommands.h> #import "Foundation/NSScriptStandardSuiteCommands.h"
@implementation NSScriptStandardSuiteCommands @implementation NSScriptStandardSuiteCommands

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSScriptSuiteRegistry.h> #import "Foundation/NSScriptSuiteRegistry.h"
@implementation NSScriptSuiteRegistry @implementation NSScriptSuiteRegistry

View file

@ -22,7 +22,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSUserActivity.h> #import "Foundation/NSUserActivity.h"
@implementation NSUserActivity @implementation NSUserActivity

View file

@ -23,7 +23,7 @@
Boston, MA 02110 USA. Boston, MA 02110 USA.
*/ */
#include <Foundation/NSUserScriptTask.h> #import "Foundation/NSUserScriptTask.h"
@implementation NSUserScriptTask @implementation NSUserScriptTask

View file

@ -31,7 +31,7 @@
#define __objc_load_h_INCLUDE #define __objc_load_h_INCLUDE
#include <stdio.h> #include <stdio.h>
#include <Foundation/NSString.h> #include "Foundation/NSString.h"
#ifdef HAVE_DLADDR #ifdef HAVE_DLADDR
#define LINKER_GETSYMBOL 1 #define LINKER_GETSYMBOL 1