diff options
author | Richard <q@1bpm.net> | 2022-03-19 00:19:34 +0000 |
---|---|---|
committer | Richard <q@1bpm.net> | 2022-03-19 00:19:34 +0000 |
commit | 97f8b44c1fa635db5f9454c8b9e1113a101cf1c9 (patch) | |
tree | 4507ea8a28149f7184d5074827741d47094ffb0a | |
parent | 6512879a9134e67c6986977d2509097196964de1 (diff) | |
download | csound-sqldb-97f8b44c1fa635db5f9454c8b9e1113a101cf1c9.tar.gz csound-sqldb-97f8b44c1fa635db5f9454c8b9e1113a101cf1c9.tar.bz2 csound-sqldb-97f8b44c1fa635db5f9454c8b9e1113a101cf1c9.zip |
fix library list
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Plugin.cmake | 2 | ||||
-rw-r--r-- | src/connection.cpp | 4 |
3 files changed, 3 insertions, 4 deletions
@@ -1,2 +1 @@ build/ -examples-test/
\ No newline at end of file diff --git a/Plugin.cmake b/Plugin.cmake index afbb480..cec008c 100644 --- a/Plugin.cmake +++ b/Plugin.cmake @@ -11,7 +11,7 @@ if(NOT PostgreSQL_FOUND AND NOT SQLITE3_FOUND AND NOT MYSQLCONNECTORCPP_FOUND) endif() # Source files -set(CPPFILES src/opcodes.cpp) +set(CPPFILES src/opcodes.cpp src/connection.cpp) set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") set(LIBS "") diff --git a/src/connection.cpp b/src/connection.cpp index 5ac0aa1..6ad929f 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -109,7 +109,7 @@ void ConnectionData::Exec(char* sql) { } } -MYFLT ConnectionData::Scalar(char* sql, int row=0, int col=0) { +MYFLT ConnectionData::Scalar(char* sql, int row, int col) { if (!open) { throw std::runtime_error(badConnection); } @@ -136,7 +136,7 @@ MYFLT ConnectionData::Scalar(char* sql, int row=0, int col=0) { } -char* ConnectionData::ScalarString(char* sql, int row=0, int col=0) { +char* ConnectionData::ScalarString(char* sql, int row, int col) { if (!open) { throw std::runtime_error(badConnection); } |