From b51e9e9c4c9f3c476879470bdf7d892b0c17183b Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Fri, 30 Mar 2018 11:27:29 +0100 Subject: [PATCH] Add method markers. --- method.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/method.h b/method.h index 2b32d6d..9eb0ef4 100644 --- a/method.h +++ b/method.h @@ -3,6 +3,7 @@ /** * Metadata structure describing a method. */ +// begin: objc_method struct objc_method { /** @@ -18,6 +19,7 @@ struct objc_method */ const char *types; }; +// end: objc_method struct objc_method_gcc { @@ -44,6 +46,7 @@ struct objc_method_gcc * When constructing the dispatch table, methods in the start of the list are * used in preference to ones at the end. */ +// begin: objc_method_list struct objc_method_list { /** @@ -64,6 +67,7 @@ struct objc_method_list */ struct objc_method methods[]; }; +// end: objc_method_list /** * Returns a pointer to the method inside the `objc_method` structure. This