Merge branch 'marshall' of git://github.com/jedahu/factor
						commit
						86b6f65fd0
					
				| 
						 | 
				
			
			@ -18,7 +18,7 @@ HELP: C-FUNCTION:
 | 
			
		|||
{ $description "Appends a function to the C library in scope and defines an FFI word that calls it." }
 | 
			
		||||
{ $examples
 | 
			
		||||
  { $example
 | 
			
		||||
    "USING: alien.inline prettyprint ;"
 | 
			
		||||
    "USING: alien.inline.syntax prettyprint ;"
 | 
			
		||||
    "IN: cmath.ffi"
 | 
			
		||||
    ""
 | 
			
		||||
    "C-LIBRARY: cmathlib"
 | 
			
		||||
| 
						 | 
				
			
			@ -44,7 +44,7 @@ HELP: C-LIBRARY:
 | 
			
		|||
{ $description "Starts a new C library scope. Other " { $snippet "alien.inline" } " syntax can be used after this word." }
 | 
			
		||||
{ $examples
 | 
			
		||||
  { $example
 | 
			
		||||
    "USING: alien.inline ;"
 | 
			
		||||
    "USING: alien.inline.syntax ;"
 | 
			
		||||
    "IN: rectangle.ffi"
 | 
			
		||||
    ""
 | 
			
		||||
    "C-LIBRARY: rectlib"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ HELP: CM-FUNCTION:
 | 
			
		|||
}
 | 
			
		||||
{ $examples
 | 
			
		||||
  { $example
 | 
			
		||||
    "USING: alien.inline alien.marshall.syntax prettyprint ;"
 | 
			
		||||
    "USING: alien.inline.syntax alien.marshall.syntax prettyprint ;"
 | 
			
		||||
    "IN: example"
 | 
			
		||||
    ""
 | 
			
		||||
    "C-LIBRARY: exlib"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
! Copyright (C) 2009 Jeremy Hughes.
 | 
			
		||||
! See http://factorcode.org/license.txt for BSD license.
 | 
			
		||||
USING: alien.inline alien.marshall.syntax destructors
 | 
			
		||||
USING: alien.inline.syntax alien.marshall.syntax destructors
 | 
			
		||||
tools.test accessors kernel ;
 | 
			
		||||
IN: alien.marshall.syntax.tests
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue