2008-07-16 09:37:36 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								USING:  alien  strings  arrays  help.markup  help.syntax  destructors  ;
  
						 
					
						
							
								
									
										
										
										
											2008-01-09 01:36:11 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								IN:  core-foundation  
						 
					
						
							
								
									
										
										
										
											2007-09-20 18:09:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  CF>array  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "alien"  "a "  { $snippet "CFArray"  } } { "array"  "an array of "  { $link alien } " instances"  } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a Factor array from a Core Foundation array."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  <CFArray>  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "seq"  "a sequence of "  { $link alien } " instances"  } { "alien"  "a "  { $snippet "CFArray"  } } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a Core Foundation array from a Factor array."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  <CFString>  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "string"  string  } { "alien"  "a "  { $snippet "CFString"  } } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a Core Foundation string from a Factor string."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  CF>string  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "alien"  "a "  { $snippet "CFString"  } } { "string"  string  } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a Factor string from a Core Foundation string."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  CF>string-array  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "alien"  "a "  { $snippet "CFArray"  } " of "  { $snippet "CFString"  } " instances"  } { "seq"  string  } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates an array of Factor strings from a "  { $snippet "CFArray"  } " of "  { $snippet "CFString"  } "s."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  <CFFileSystemURL>  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "string"  "a pathname string"  } { "dir?"  "a boolean indicating if the pathname is a directory"  } { "url"  "a "  { $snippet "CFURL"  } } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a new "  { $snippet "CFURL"  } " pointing to the given local pathname."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  <CFURL>  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "string"  "a URL string"  } { "url"  "a "  { $snippet "CFURL"  } } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a new "  { $snippet "CFURL"  } "."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  <CFBundle>  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "string"  "a pathname string"  } { "bundle"  "a "  { $snippet "CFBundle"  } } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Creates a new "  { $snippet "CFBundle"  } "."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  load-framework  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "name"  "a pathname string"  } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Loads a Core Foundation framework."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-07-16 09:37:36 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								HELP:  &CFRelease  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values { "alien"  "Pointer to a Core Foundation object"  } }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Marks the given Core Foundation object for unconditional release via "  { $link CFRelease } " at the end of the enclosing "  { $link with-destructors } " scope."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  |CFRelease  
						 
					
						
							
								
									
										
										
										
											2008-08-23 00:00:35 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{ $values { "alien"  "Pointer to a Core Foundation object"  } }
							 
						 
					
						
							
								
									
										
										
										
											2008-07-16 09:37:36 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{ $description "Marks the given Core Foundation object for release via "  { $link CFRelease } " in the event of an error at the end of the enclosing "  { $link with-destructors } " scope."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ CFRelease |CFRelease &CFRelease } related-words
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-09-20 18:09:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								ARTICLE: "core-foundation"  "Core foundation utilities" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"The "  { $vocab-link "core-foundation"  } " vocabulary defines bindings for some frequently-used Core Foundation functions. It also provides some utility words."  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								$nl
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"Strings:"  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection <CFString> }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection CF>string }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"Arrays:"  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection <CFArray> }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection CF>array }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection CF>string-array }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"URLs:"  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection <CFFileSystemURL> }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection <CFURL> }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"Frameworks:"  
						 
					
						
							
								
									
										
										
										
											2008-07-16 09:37:36 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								{ $subsection load-framework }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"Memory management:"  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection &CFRelease }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $subsection |CFRelease } ;
 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-20 18:09:08 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								ABOUT: "core-foundation"