mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
When searching back for function definitions, consider lines starting with '+' and '-', this allows us to pick up Objective-C methods as well as C style function definitions. Reviewed by: bapt Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D34202
11 lines
279 B
Text
11 lines
279 B
Text
--- functionname.in
|
|
+++ functionname_objcclassm.in
|
|
@@ -25,5 +25,7 @@ + (BOOL) isEdible:(NSString *)mushroom
|
|
|
|
+ (BOOL) isEdible:(NSString *)mushroom
|
|
{
|
|
- return TRUE;
|
|
+ /* With a solid guide book (such as Phillips 2006) assume we can't eat
|
|
+ * the fungus */
|
|
+ return FALSE;
|
|
}
|