Create the NSEdgeInsets struct in NSGeometry, introduced in OSX 10.7.
Add helper functions for creating these insets.
This struct is not used in Base. Rather, it is used as part of newer
APIs in GUI.
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtPropertyIntrospection.html
Several of the things in the documentation are wrong:
- The encoding of structures does not include the field names in property
encodings. This encoding format appears to only be used in ivars (yes, it is
frustrating)
- Apple appears to encode long as q on LP64 platforms. This is probably a
compiler bug.
- The N flag is not set for non-atomic properties. This appears to be a clang
bug, since the non-atomic flag is not set in the AST - both the Mac and
GNUstep runtimes generate the same wrong result.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32944 72102866-910b-0410-8b05-ffd578937521
being confusing. They now both take a simple C-string argument which
names the set, and the macros check that each end matches a start of
the same name. Since tis means that a START_SET no longer takes an
argument sayng whether or notthe set is to be skipped, we now have a
SKIP macro to be used inside a set to skip to the end of it. This
is actually more versatile as we can have multiple SKIP macros in the
same set, each providing a different reason for the set being skipped.
Also removed a few obsolete/unused functions and macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32355 72102866-910b-0410-8b05-ffd578937521
Richard: I've probably put this in a slightly silly place - feel free to move it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32340 72102866-910b-0410-8b05-ffd578937521
classes and metaclasses (or, at least, the same thing that the NeXT runtime does).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32325 72102866-910b-0410-8b05-ffd578937521