diff --git a/bindings/pascocoa/examples/statusitem/controller.pas b/bindings/pascocoa/examples/statusitem/controller.pas index 7ba8e52f1..dd92c5936 100644 --- a/bindings/pascocoa/examples/statusitem/controller.pas +++ b/bindings/pascocoa/examples/statusitem/controller.pas @@ -75,6 +75,7 @@ constructor TMyController.Create; var fileName: CFStringRef; begin + { The class is registered on the Objective-C runtime before the NSObject constructor is called } if not CreateClassDefinition(Str_TMyController, Str_NSObject) then WriteLn('Failed to create objc class'); inherited Create; diff --git a/bindings/pascocoa/parser/objcparser.lpi b/bindings/pascocoa/parser/objcparser.lpi index e0f7d4a10..d291dc732 100755 --- a/bindings/pascocoa/parser/objcparser.lpi +++ b/bindings/pascocoa/parser/objcparser.lpi @@ -9,11 +9,11 @@ + - @@ -30,303 +30,22 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -340,16 +59,4 @@ - - - - - - - - - - - - diff --git a/bindings/pascocoa/parser/testparser.sh b/bindings/pascocoa/parser/testparser.sh new file mode 100755 index 000000000..6fc119871 --- /dev/null +++ b/bindings/pascocoa/parser/testparser.sh @@ -0,0 +1 @@ +./objcparser /System/Library/Frameworks/AppKit.framework/Headers/NSButton.h > NSButton.inc