| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2009 November 10 | 2 ** 2009 November 10 |
| 3 ** | 3 ** |
| 4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
| 5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
| 6 ** | 6 ** |
| 7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
| 8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
| 9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
| 10 ** | 10 ** |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 ** longer needed. The application must not change the intarray values | 68 ** longer needed. The application must not change the intarray values |
| 69 ** while an intarray is in the middle of a query. | 69 ** while an intarray is in the middle of a query. |
| 70 ** | 70 ** |
| 71 ** The intarray object is automatically destroyed when its corresponding | 71 ** The intarray object is automatically destroyed when its corresponding |
| 72 ** virtual table is dropped. Since the virtual tables are created in the | 72 ** virtual table is dropped. Since the virtual tables are created in the |
| 73 ** TEMP database, they are automatically dropped when the database connection | 73 ** TEMP database, they are automatically dropped when the database connection |
| 74 ** closes so the application does not normally need to take any special | 74 ** closes so the application does not normally need to take any special |
| 75 ** action to free the intarray objects. | 75 ** action to free the intarray objects. |
| 76 */ | 76 */ |
| 77 #include "sqlite3.h" | 77 #include "sqlite3.h" |
| 78 #ifndef _INTARRAY_H_ | 78 #ifndef SQLITE_INTARRAY_H |
| 79 #define _INTARRAY_H_ | 79 #define SQLITE_INTARRAY_H |
| 80 | 80 |
| 81 /* | 81 /* |
| 82 ** Make sure we can call this stuff from C++. | 82 ** Make sure we can call this stuff from C++. |
| 83 */ | 83 */ |
| 84 #ifdef __cplusplus | 84 #ifdef __cplusplus |
| 85 extern "C" { | 85 extern "C" { |
| 86 #endif | 86 #endif |
| 87 | 87 |
| 88 /* | 88 /* |
| 89 ** An sqlite3_intarray is an abstract type to stores an instance of | 89 ** An sqlite3_intarray is an abstract type to stores an instance of |
| (...skipping 28 matching lines...) Expand all Loading... |
| 118 SQLITE_API int sqlite3_intarray_bind( | 118 SQLITE_API int sqlite3_intarray_bind( |
| 119 sqlite3_intarray *pIntArray, /* The intarray object to bind to */ | 119 sqlite3_intarray *pIntArray, /* The intarray object to bind to */ |
| 120 int nElements, /* Number of elements in the intarray */ | 120 int nElements, /* Number of elements in the intarray */ |
| 121 sqlite3_int64 *aElements, /* Content of the intarray */ | 121 sqlite3_int64 *aElements, /* Content of the intarray */ |
| 122 void (*xFree)(void*) /* How to dispose of the intarray when done */ | 122 void (*xFree)(void*) /* How to dispose of the intarray when done */ |
| 123 ); | 123 ); |
| 124 | 124 |
| 125 #ifdef __cplusplus | 125 #ifdef __cplusplus |
| 126 } /* End of the 'extern "C"' block */ | 126 } /* End of the 'extern "C"' block */ |
| 127 #endif | 127 #endif |
| 128 #endif /* _INTARRAY_H_ */ | 128 #endif /* SQLITE_INTARRAY_H */ |
| OLD | NEW |