mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Documentation error tweaks
This commit is contained in:
parent
2e48b09feb
commit
44dc5cef3d
7 changed files with 14 additions and 14 deletions
|
@ -565,7 +565,7 @@ GS_EXPORT_CLASS
|
|||
* Returns the Android asset for the given path if path is in main bundle
|
||||
* resources and asset exists.
|
||||
* Uses `AASSET_MODE_UNKNOWN` to open the asset if it exists.
|
||||
* The returned object must be released using AAsset_close().
|
||||
* The returned object must be released using the AAsset_close function.
|
||||
*/
|
||||
+ (AAsset *) assetForPath: (NSString *)path;
|
||||
|
||||
|
@ -573,14 +573,14 @@ GS_EXPORT_CLASS
|
|||
* Returns the Android asset for the given path if path is in main bundle
|
||||
* resources and asset exists.
|
||||
* Uses the given mode to open the AAsset if it exists.
|
||||
* The returned object must be released using AAsset_close().
|
||||
* The returned object must be released using the AAsset_close function.
|
||||
*/
|
||||
+ (AAsset *) assetForPath: (NSString *)path withMode: (int)mode;
|
||||
|
||||
/**
|
||||
* Returns the Android asset dir for the given path if path is in main bundle
|
||||
* resources and the asset directory exists.
|
||||
* The returned object must be released using AAssetDir_close().
|
||||
* The returned object must be released using the AAssetDir_close function.
|
||||
*/
|
||||
+ (AAssetDir *) assetDirForPath: (NSString *)path;
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ GS_EXPORT_CLASS
|
|||
|
||||
/**
|
||||
* Sets the number of the week in this year.
|
||||
* Identical to calling <code>-setWeek</code>. */
|
||||
* Identical to calling <code>-setWeek:</code>. */
|
||||
- (void) setWeekOfYear: (NSInteger) v;
|
||||
|
||||
/**
|
||||
|
|
|
@ -247,7 +247,7 @@ GS_EXPORT_CLASS
|
|||
- (instancetype) initWithTimeIntervalSinceReferenceDate: (NSTimeInterval)secs;
|
||||
|
||||
/** Returns NO if other is not a date, otherwise returns the result of
|
||||
* calling the -isEqualtoDate: method.
|
||||
* calling the -isEqualToDate: method.
|
||||
*/
|
||||
- (BOOL) isEqual: (id)other;
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ typedef NSUInteger NSDateFormatterBehavior;
|
|||
* <desc>day of the month as a decimal number (01-31)</desc>
|
||||
* <term>%e</term>
|
||||
* <desc>same as %d but does not print the leading 0 for days 1 through 9
|
||||
* (unlike strftime(), does not print a leading space)</desc>
|
||||
* (unlike "strftime()", does not print a leading space)</desc>
|
||||
* <term>%F</term>
|
||||
* <desc>milliseconds as a decimal number (000-999)</desc>
|
||||
* <term>%H</term>
|
||||
|
@ -107,17 +107,17 @@ typedef NSUInteger NSDateFormatterBehavior;
|
|||
* <desc>weekday as a decimal number (0-6), where Sunday is 0</desc>
|
||||
* <term>%x</term>
|
||||
* <desc>date using the date representation for the locale, including the
|
||||
* time zone (produces different results from strftime())</desc>
|
||||
* time zone (produces different results from "strftime()")</desc>
|
||||
* <term>%X</term>
|
||||
* <desc>time using the time representation for the locale (produces
|
||||
* different results from strftime())</desc>
|
||||
* different results from "strftime()")</desc>
|
||||
* <term>%y</term>
|
||||
* <desc>year without century (00-99)</desc>
|
||||
* <term>%Y</term>
|
||||
* <desc>year with century (such as 1990)</desc>
|
||||
* <term>%Z</term>
|
||||
* <desc>time zone name (such as Pacific Daylight Time; produces different
|
||||
* results from strftime())</desc>
|
||||
* results from "strftime()")</desc>
|
||||
* <term>%z</term>
|
||||
* <desc>time zone offset in hours and minutes from GMT (HHMM)</desc>
|
||||
* </deflist>
|
||||
|
|
|
@ -242,7 +242,7 @@ GS_EXPORT NSString * const NSNetServicesErrorDomain;
|
|||
* Notifies the delegate that the search is about to begin.
|
||||
*
|
||||
* <p><strong>See also:</strong><br />
|
||||
* [NSNetServiceBrowser-netServiceBrowser:didNotSearch:]<br />
|
||||
* -netServiceBrowser:didNotSearch:<br />
|
||||
* </p>
|
||||
*/
|
||||
|
||||
|
@ -252,7 +252,7 @@ GS_EXPORT NSString * const NSNetServicesErrorDomain;
|
|||
* Notifies the delegate that the search was unsuccessful.
|
||||
*
|
||||
* <p><strong>See also:</strong><br />
|
||||
* [NSNetServiceBrowser-netServiceBrowserWillSearch:]<br />
|
||||
* -netServiceBrowserWillSearch:<br />
|
||||
* </p>
|
||||
*/
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ GS_EXPORT NSZone*
|
|||
NSCreateZone (NSUInteger start, NSUInteger gran, BOOL canFree);
|
||||
|
||||
/** Returns the default zone for memory allocation. Memory created in this
|
||||
* zone is the same as memory allocates using the system malloc() function.
|
||||
* zone is the same as memory allocates using the system malloc function.
|
||||
*/
|
||||
GS_EXPORT NSZone*
|
||||
NSDefaultMallocZone (void);
|
||||
|
|
|
@ -1627,7 +1627,7 @@ GSSetUserName(NSString *aName)
|
|||
* Under unix-like systems, the name associated with the current
|
||||
* effective user ID is used.<br/ >
|
||||
* Under ms-windows, the 'LOGNAME' environment is used, or if that fails, the
|
||||
* GetUserName() call is used to find the user name.<br />
|
||||
* GetUserNameW function is used to find the user name.<br />
|
||||
* Raises an exception on failure.
|
||||
*/
|
||||
/* NOTE FOR DEVELOPERS.
|
||||
|
@ -1649,7 +1649,7 @@ NSUserName(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* The GetUserName function returns the current user name */
|
||||
/* The GetUserNameW function returns the current user name */
|
||||
GSNativeChar buf[1024];
|
||||
DWORD n = 1024;
|
||||
|
||||
|
|
Loading…
Reference in a new issue