diff options
| author | Rob Holland <rob@inversepath.com> | 2008-05-17 10:31:56 +0100 |
|---|---|---|
| committer | Rob Holland <rob@inversepath.com> | 2008-05-17 10:31:56 +0100 |
| commit | 36ff0b85ed9049a63cc3b66533282e730a7db398 (patch) | |
| tree | 1e5165035d1012d6e1c4bbaeb5439475aa883e19 /ext/sqlite3_api | |
| parent | d7369f59017b395d3da66c351388f94f5b23bf3c (diff) | |
| download | third_party-sqlite3-ruby-36ff0b85ed9049a63cc3b66533282e730a7db398.tar.gz third_party-sqlite3-ruby-36ff0b85ed9049a63cc3b66533282e730a7db398.tar.xz third_party-sqlite3-ruby-36ff0b85ed9049a63cc3b66533282e730a7db398.zip | |
amend rdoc to make it clear to use Statement#execute to execute a prepared statement
Diffstat (limited to 'ext/sqlite3_api')
| -rw-r--r-- | ext/sqlite3_api/sqlite3_api.i | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/sqlite3_api/sqlite3_api.i b/ext/sqlite3_api/sqlite3_api.i index 0cf74f4..7c6cee6 100644 --- a/ext/sqlite3_api/sqlite3_api.i +++ b/ext/sqlite3_api/sqlite3_api.i @@ -2,7 +2,12 @@ %include "typemaps.i" %{ #include <sqlite3.h> +#include "version.h" +#if RUBY_VERSION_CODE < 190 #include "ruby.h" +#else +#include "ruby/intern.h" +#endif #define Init_API Init_sqlite3_api |
