Skip to content

Commit

Permalink
Improve comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Feb 9, 2025
1 parent 5fa8a06 commit 3259018
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Tools/classes.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
/* Crude tool to compare classes in different version of library code to
* look for possible compatiblity issues.
* Only for internal/test use at the momement.
*
* This tools is very much subject to change!
*
* At present, the tool simply looks for the methods available in public
* classes (excluding private methods).
*
* To check for public symbols of other kinds, use the 'nm' command on the
* library with -g (public/external) and -U (defined symbols) options.
* Filter the output to remove symbols we are not interested in.
* eg.
* nm -g -U Source/obj/libgnustep-base.so.1.31.0 | fgrep -v -e ' GS' -e ' NS' \
* -e ' ._OBJC' -e ' __objc' -e ' __odr_asan' >/tmp/result.txt
*
* Names beginning GS or NS are assumed to be intentionally public.
* We probably arent intersted in classes, ivar offsets, or ASAN synbols.
*/
#import "Foundation/Foundation.h"
#import "GNUstepBase/GSObjCRuntime.h"
Expand Down

0 comments on commit 3259018

Please sign in to comment.