aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard <q@1bpm.net>2022-03-19 00:19:34 +0000
committerRichard <q@1bpm.net>2022-03-19 00:19:34 +0000
commit97f8b44c1fa635db5f9454c8b9e1113a101cf1c9 (patch)
tree4507ea8a28149f7184d5074827741d47094ffb0a
parent6512879a9134e67c6986977d2509097196964de1 (diff)
downloadcsound-sqldb-97f8b44c1fa635db5f9454c8b9e1113a101cf1c9.tar.gz
csound-sqldb-97f8b44c1fa635db5f9454c8b9e1113a101cf1c9.tar.bz2
csound-sqldb-97f8b44c1fa635db5f9454c8b9e1113a101cf1c9.zip
fix library list
-rw-r--r--.gitignore1
-rw-r--r--Plugin.cmake2
-rw-r--r--src/connection.cpp4
3 files changed, 3 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index e7bf528..567609b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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);
}