From 08fafdc2c1454564016d07e44856b19bcf46b74a Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 24 Jun 2009 17:13:22 +0200 Subject: [PATCH] overload resolution for proc vars --- src/wrappers/mysql.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrappers/mysql.nim b/src/wrappers/mysql.nim index 60c6bd80cf..20a50b814a 100644 --- a/src/wrappers/mysql.nim +++ b/src/wrappers/mysql.nim @@ -786,7 +786,7 @@ type mem_root*: MEM_ROOT # root allocations mysql*: PMYSQL # connection handle params*: PMYSQL_BIND # input parameters - bind*: PMYSQL_BIND # input parameters + `bind`*: PMYSQL_BIND # input parameters fields*: PMYSQL_FIELD # result set metadata result*: MYSQL_DATA # cached result set data_cursor*: PMYSQL_ROWS # current row in cached result @@ -1042,7 +1042,7 @@ proc mysql_stmt_execute*(stmt: PMYSQL_STMT): cint{.stdcall, dynlib: mysqllib, importc: "mysql_stmt_execute".} proc mysql_stmt_fetch*(stmt: PMYSQL_STMT): cint{.stdcall, dynlib: mysqllib, importc: "mysql_stmt_fetch".} -proc mysql_stmt_fetch_column*(stmt: PMYSQL_STMT, bind: PMYSQL_BIND, +proc mysql_stmt_fetch_column*(stmt: PMYSQL_STMT, `bind`: PMYSQL_BIND, column: cuint, offset: int): cint{.stdcall, dynlib: mysqllib, importc: "mysql_stmt_fetch_column".} proc mysql_stmt_store_result*(stmt: PMYSQL_STMT): cint{.stdcall,