mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Correct formatting.
Use import instead of include. Add missing import. Correct encoding strings. Correct measurement conversion.
This commit is contained in:
parent
13f7446a32
commit
aae21568d4
13 changed files with 129 additions and 107 deletions
|
@ -25,13 +25,14 @@
|
|||
#ifndef _NSLengthFormatter_h_GNUSTEP_BASE_INCLUDE
|
||||
#define _NSLengthFormatter_h_GNUSTEP_BASE_INCLUDE
|
||||
|
||||
#include <Foundation/NSFormatter.h>
|
||||
#import <Foundation/NSFormatter.h>
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
|
||||
enum {
|
||||
NSLengthFormatterUnitMillimeter = 8,
|
||||
NSLengthFormatterUnitCentimeter = 9,
|
||||
|
@ -70,7 +71,7 @@ typedef NSInteger NSLengthFormatterUnit;
|
|||
|
||||
- (NSString *) unitStringFromMeters: (double)numberInMeters usedUnit: (NSLengthFormatterUnit *)unit;
|
||||
|
||||
- (BOOL)getObjectValue: (id *)obj forString: (NSString *)string errorDescription: (NSString **)error;
|
||||
- (BOOL) getObjectValue: (id *)obj forString: (NSString *)string errorDescription: (NSString **)error;
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue