]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/db/postgresql/lib/lib.factor
Fixing everything for mandatory stack effects
[factor.git] / extra / db / postgresql / lib / lib.factor
index ebcc67374b4d74f7f8cb1ed534049cf981a6849f..e99bc414494abe5c44b5c39c4838d11a14cb1aa1 100755 (executable)
@@ -66,10 +66,10 @@ M: postgresql-result-null summary ( obj -- str )
 : param-types ( statement -- seq )
     in-params>> [ type>> type>oid ] map >c-uint-array ;
 
-: malloc-byte-array/length
+: malloc-byte-array/length ( byte-array -- alien length )
     [ malloc-byte-array &free ] [ length ] bi ;
 
-: default-param-value
+: default-param-value ( obj -- alien n )
     number>string* dup [ utf8 malloc-string &free ] when 0 ;
 
 : param-values ( statement -- seq seq2 )