mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 02:19:22 +01:00 
			
		
		
		
	change is that it is now also allowed to specify an external name for
    formal external class definitions, but if they are later mixed with
    regular class definitions the external names have to match.
   o because the "external" status of methods is now set while parsing the
     class rather than afterwards, some procdir compatibility checks had to
     be inlined because they only have to be performed for 
  * also adapted the syntax for external cppclasses in the same way
  * fixed return type of NSObject.retainCount and NSObject.hash
    (NSUInteger instead of cint)
  * moved "patches" directory from cocoaint/src to cocoaint/utils/cocoa-skel
    so they are used by the conversion script when re-parsing the headers
  * updated Objective-C header parser script to
   o use the new external class syntax
   o not write inheritance information for root classes (NSObject, NSProxy)
   o use internal translation tables for some conflicting method names that
    are named specially in objcbase.pp
   and updated parsed headers
  * fixed rtl/inc/objcbase.pp and tests to conform to the new external class
    syntax
git-svn-id: trunk@16684 -
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			269 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			269 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
{ Written by Jonas Maebe in 2010, released into the public domain }
 | 
						|
 | 
						|
{$mode objfpc}
 | 
						|
{$modeswitch objectivec1}
 | 
						|
 | 
						|
unit uobjc35d;
 | 
						|
 | 
						|
interface
 | 
						|
 | 
						|
type
 | 
						|
  MyExternalClass = objcclass external;
 | 
						|
 | 
						|
  MyClass = objcclass(NSObject)
 | 
						|
    ff: MyExternalClass
 | 
						|
  end;
 | 
						|
 | 
						|
implementation
 | 
						|
 | 
						|
end.
 |