mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Added macOS-X compatibility stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6e11db13e3
commit
2085dd62a2
3 changed files with 153 additions and 20 deletions
|
@ -14,6 +14,7 @@ print_string(NSString* s)
|
|||
}
|
||||
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSGeometry.h>
|
||||
|
||||
|
||||
int main()
|
||||
|
@ -25,6 +26,9 @@ int main()
|
|||
|
||||
print_string(s);
|
||||
|
||||
s2 = NSStringFromPoint(NSMakePoint(1.374, 5.100));
|
||||
print_string(s2);
|
||||
|
||||
s2 = [s copy];
|
||||
print_string(s2);
|
||||
s3 = [s2 mutableCopy];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue