]> granicus.if.org Git - yasm/commitdiff
* bytecode.pxi: Fix definition of yasm_dv_create_string().
authorPeter Johnson <peter@tortall.net>
Tue, 4 Apr 2006 06:02:18 +0000 (06:02 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 4 Apr 2006 06:02:18 +0000 (06:02 -0000)
svn path=/trunk/yasm/; revision=1455

tools/python-yasm/bytecode.pxi

index 3b781d5879f1d6882b3f279773660e2737e1e84d..9f30166415360f7e2cff4b5e28077bc18de4e70b 100644 (file)
@@ -78,7 +78,7 @@ cdef extern from "libyasm/bytecode.h":
             yasm_output_reloc_func output_reloc)
 
     cdef yasm_dataval* yasm_dv_create_expr(yasm_expr *expn)
-    cdef yasm_dataval* yasm_dv_create_string(char *contents, unsigned long len)
+    cdef yasm_dataval* yasm_dv_create_string(char *contents, size_t len)
 
     cdef void yasm_dvs_initialize(yasm_datavalhead *headp)
     cdef void yasm_dvs_destroy(yasm_datavalhead *headp)