static JSVAL field_tell(JSARGS args) { HandleScope scope; MYSQL_RES *result = (MYSQL_RES *) args[0]->IntegerValue(); return scope.Close(Integer::New(mysql_field_tell(result))); }
int64_t MySQLResult::tellField() { if (!m_localized) { return mysql_field_tell(m_res); } return m_current_field; }
/* field_tell() */ static VALUE field_tell(VALUE obj) { check_free(obj); return INT2NUM(mysql_field_tell(GetMysqlRes(obj))); }