removes deprecated T/P types
This commit is contained in:
parent
4233046e3f
commit
3f6168b337
64 changed files with 43 additions and 276 deletions
|
|
@ -60,17 +60,6 @@ type
|
|||
PSQLDOUBLE* = ptr TSqlDouble
|
||||
PSQLFLOAT* = ptr TSqlFloat
|
||||
PSQLHANDLE* = ptr SqlHandle
|
||||
{.deprecated: [
|
||||
# TSqlChar: TSqlChar, # Name conflict if we drop`T`
|
||||
# TSqlSmallInt: TSqlSmallInt, # Name conflict if we drop`T`
|
||||
TSqlUSmallInt: SqlUSmallInt, TSqlHandle: SqlHandle, TSqlHEnv: SqlHEnv,
|
||||
TSqlHDBC: SqlHDBC, TSqlHStmt: SqlHStmt, TSqlHDesc: SqlHDesc,
|
||||
# TSqlInteger: TSqlInteger, # Name conflict if we drop `T`
|
||||
TSqlUInteger: SqlUInteger, TSqlPointer: SqlPointer,
|
||||
# TSqlReal: TSqlReal, # Name conflict if we drop`T`
|
||||
# TSqlDouble: TSqlDouble, # Name conflict if we drop`T`
|
||||
# TSqlFloat: TSqlFloat, # Name conflict if we drop `T`
|
||||
TSqlHWND: SqlHWND].}
|
||||
|
||||
const # SQL data type codes
|
||||
SQL_UNKNOWN_TYPE* = 0
|
||||
|
|
|
|||
|
|
@ -83,8 +83,6 @@ type
|
|||
|
||||
pem_password_cb* = proc(buf: cstring, size, rwflag: cint, userdata: pointer): cint {.cdecl.}
|
||||
|
||||
{.deprecated: [PSSL: SslPtr, PSSL_CTX: SslCtx, PBIO: BIO].}
|
||||
|
||||
const
|
||||
SSL_SENT_SHUTDOWN* = 1
|
||||
SSL_RECEIVED_SHUTDOWN* = 2
|
||||
|
|
|
|||
|
|
@ -466,14 +466,6 @@ proc study*(code: ptr Pcre,
|
|||
{.pop.}
|
||||
|
||||
|
||||
{.deprecated: [MAJOR: PCRE_MAJOR, MINOR: PCRE_MINOR,
|
||||
PRERELEASE: PCRE_PRERELEASE, DATE: PCRE_DATE].}
|
||||
|
||||
{.deprecated: [TPcre: Pcre, TJitStack: JitStack].}
|
||||
type
|
||||
PPcre* {.deprecated.} = ptr Pcre
|
||||
PJitStack* {.deprecated.} = ptr JitStack
|
||||
|
||||
{.deprecated: [TExtra: ExtraData].}
|
||||
{.deprecated: [TCalloutBlock: CalloutBlock].}
|
||||
{.deprecated: [TJitCallback: JitCallback].}
|
||||
|
|
|
|||
|
|
@ -152,10 +152,6 @@ type
|
|||
length*: int32
|
||||
isint*: int32
|
||||
p*: pointer
|
||||
{.deprecated: [TSockAddr: SockAddr, TPGresAttDesc: PgresAttDesc,
|
||||
TPGresAttValue: PgresAttValue, TExecStatusType: ExecStatusType,
|
||||
TPGlobjfuncs: Pglobjfuncs, TConnStatusType: ConnStatusType, TPGconn: Pgconn,
|
||||
TPGresult: PGresult].}
|
||||
|
||||
proc pqconnectStart*(conninfo: cstring): PPGconn{.cdecl, dynlib: dllName,
|
||||
importc: "PQconnectStart".}
|
||||
|
|
|
|||
|
|
@ -121,12 +121,6 @@ type
|
|||
para4: int32, para5: pointer): int32{.cdecl.}
|
||||
Collation_needed_func* = proc (para1: pointer, para2: PSqlite3, eTextRep: int32,
|
||||
para4: cstring){.cdecl.}
|
||||
{.deprecated: [TSqlite3: Sqlite3, TContext: Context, Tvalue: Value,
|
||||
Tcallback: Callback, Tcreate_function_step_func: Create_function_step_func,
|
||||
Tcreate_function_func_func: Create_function_func_func,
|
||||
Tcreate_function_final_func: Create_function_final_func,
|
||||
Tresult_func: Result_func, Tcreate_collation_func: Create_collation_func,
|
||||
Tcollation_needed_func: Collation_needed_func].}
|
||||
|
||||
const
|
||||
SQLITE_STATIC* = nil
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ type
|
|||
PccState* = ptr CcState
|
||||
|
||||
ErrorFunc* = proc (opaque: pointer, msg: cstring) {.cdecl.}
|
||||
{.deprecated: [TccState: CcState, TErrorFunc: ErrorFunc].}
|
||||
|
||||
proc openCCState*(): PccState {.importc: "tcc_new", cdecl.}
|
||||
## create a new TCC compilation context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue