summaryrefslogtreecommitdiff
path: root/tests/headers/objc_class_method.h
diff options
context:
space:
mode:
authorMikko Lehtonen <scoopr@iki.fi>2017-03-05 00:41:58 +0200
committerMikko Lehtonen <scoopr@iki.fi>2017-03-07 23:08:55 +0200
commitcc6ab475138ce8a27a1aceae53667f226122cac9 (patch)
treee80ee232edafcd0ad73d2fe9cb0d5c5423226394 /tests/headers/objc_class_method.h
parentdd1dc9e391f59e864316f145d1d3aac9294fd255 (diff)
objc: Implement class methods
Diffstat (limited to 'tests/headers/objc_class_method.h')
-rw-r--r--tests/headers/objc_class_method.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/objc_class_method.h b/tests/headers/objc_class_method.h
new file mode 100644
index 00000000..ddda742e
--- /dev/null
+++ b/tests/headers/objc_class_method.h
@@ -0,0 +1,11 @@
+// bindgen-flags: --objc-extern-crate -- -x objective-c
+// bindgen-osx-only
+
+@interface Foo
++ (void)method;
++ (void)methodWithInt:(int)foo;
++ (void)methodWithFoo:(Foo*)foo;
++ (int)methodReturningInt;
++ (Foo*)methodReturningFoo;
++ (void)methodWithArg1:(int)intvalue andArg2:(char*)ptr andArg3:(float)floatvalue;
+@end