mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Minor documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
667fc062d6
commit
4fbce87abb
7 changed files with 59 additions and 44 deletions
|
@ -3949,7 +3949,7 @@ static BOOL warned = NO; if (warned == NO) { warned = YES; NSLog(@"WARNING, use
|
|||
|
||||
/**
|
||||
* Performs an XSLT transformation on the current document using the
|
||||
* supplied stylesheet and paramaters (parameters may be nil).
|
||||
* supplied stylesheet and paramaters (params may be nil).
|
||||
* See the libxslt documentation for details of the supported parameters.<br />
|
||||
*
|
||||
* Returns an autoreleased GSXMLDocument containing the transformed
|
||||
|
@ -4046,7 +4046,7 @@ static BOOL warned = NO; if (warned == NO) { warned = YES; NSLog(@"WARNING, use
|
|||
}
|
||||
|
||||
- (GSXMLDocument*) xsltTransform: (GSXMLDocument*)xsltStylesheet
|
||||
params: (NSDictionary*)parameters
|
||||
params: (NSDictionary*)params
|
||||
{
|
||||
NSLog(@"libxslt is not available");
|
||||
return nil;
|
||||
|
|
|
@ -1506,11 +1506,6 @@ static void setPollfd(int fd, int event, GSRunLoopCtxt *ctxt)
|
|||
|
||||
@implementation NSRunLoop(GNUstepExtensions)
|
||||
|
||||
/**
|
||||
* Adds a runloop watcher matching the specified data and type in this
|
||||
* runloop. If the mode is nil, either the currentMode is used (if the
|
||||
* loop is running) or NSDefaultRunLoopMode is used.
|
||||
*/
|
||||
- (void) addEvent: (void*)data
|
||||
type: (RunLoopEventType)type
|
||||
watcher: (id<RunLoopEvents>)watcher
|
||||
|
@ -1549,13 +1544,6 @@ static void setPollfd(int fd, int event, GSRunLoopCtxt *ctxt)
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes a runloop watcher matching the specified data and type in this
|
||||
* runloop. If the mode is nil, either the currentMode is used (if the
|
||||
* loop is running) or NSDefaultRunLoopMode is used.
|
||||
* The additional removeAll flag may be used to remove all instances of
|
||||
* the watcher rather than just a single one.
|
||||
*/
|
||||
- (void) removeEvent: (void*)data
|
||||
type: (RunLoopEventType)type
|
||||
forMode: (NSString*)mode
|
||||
|
|
|
@ -576,7 +576,7 @@ handle_printf_atsign (FILE *stream,
|
|||
* is released and nil is returned.
|
||||
*/
|
||||
- (id) initWithBytes: (const void*)bytes
|
||||
length: (unsigned)length
|
||||
length: (unsigned int)length
|
||||
encoding: (NSStringEncoding)encoding
|
||||
{
|
||||
if (length == 0)
|
||||
|
@ -734,7 +734,7 @@ handle_printf_atsign (FILE *stream,
|
|||
* is released and nil is returned.
|
||||
*/
|
||||
- (id) initWithBytesNoCopy: (const void*)bytes
|
||||
length: (unsigned)length
|
||||
length: (unsigned int)length
|
||||
encoding: (NSStringEncoding)encoding
|
||||
freeWhenDone: (BOOL)flag
|
||||
{
|
||||
|
|
|
@ -903,7 +903,7 @@ static NSMapTable *absolutes = 0;
|
|||
* 2) the GNUSTEP_TZ environment variable<br/ >
|
||||
* 3) the file "localtime" in System/Library/Libraries/Resources/NSTimeZone<br/ >
|
||||
* 4) the TZ environment variable<br/ >
|
||||
* 5) tzset() and tznam on platforms which have it<br/ >
|
||||
* 5) tzset and tznam on platforms which have it<br/ >
|
||||
* 6) Windows registry, on Win32 systems<br/ >
|
||||
* 7) or the fallback time zone (which is UTC)<br/ >
|
||||
* with the ones listed first having precedence.
|
||||
|
@ -1368,11 +1368,11 @@ static NSMapTable *absolutes = 0;
|
|||
* Returns a timezone for aTimeZoneName, created from the supplied
|
||||
* time zone data. Data must be in TZ format as per the Olson database.
|
||||
*/
|
||||
+ (NSTimeZone*) timeZoneWithName: (NSString*)aTimeZoneName data: (NSData*)data
|
||||
+ (NSTimeZone*) timeZoneWithName: (NSString*)name data: (NSData*)data
|
||||
{
|
||||
NSTimeZone *zone;
|
||||
|
||||
zone = [defaultPlaceholderTimeZone initWithName: aTimeZoneName data: data];
|
||||
zone = [defaultPlaceholderTimeZone initWithName: name data: data];
|
||||
return AUTORELEASE(zone);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue