Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition syntax in DBI #1033

CrazyHackGUT opened this issue Jun 11, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jun 11, 2019

* Returns a driver Handle from a name string.
* If the driver is not found, SourceMod will attempt
* to load an extension named dbi.<name>.ext.[dll|so].
* @param name Driver identification string, or an empty
* string to return the default driver.
* @return Driver Handle, or INVALID_HANDLE on failure.
native Handle SQL_GetDriver(const char[] name="");
* Reads the driver of an opened database.
* @param database Database Handle.
* @param ident Option buffer to store the identification string.
* @param ident_length Maximum length of the buffer.
* @return Driver Handle.
native Handle SQL_ReadDriver(Handle database, char[] ident="", int ident_length=0);

These natives should return Driver, not Handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.