|
|
| version 1.17, 2001/09/26 10:32:26 | version 1.19, 2001/10/29 08:05:37 |
|---|---|
| Line 37 public: | Line 37 public: |
| virtual void *malloc(size_t size) =0; | virtual void *malloc(size_t size) =0; |
| /// allocates some bytes clearing them with zeros | /// allocates some bytes clearing them with zeros |
| virtual void *calloc(size_t size) =0; | virtual void *calloc(size_t size) =0; |
| /// throw exception | /// prepare throw exception |
| virtual void _throw(const char *comment) =0; | virtual void _throw(const char *comment) =0; |
| /// throw C++ exception from prepared | |
| virtual void propagate_exception() =0; | |
| public: | |
| /// regretrully public, because can't make stack frames: "nowhere to return to" | |
| jmp_buf mark; | |
| }; | }; |
| #define SQL_DRIVER_API_VERSION 0x0304 | #define SQL_DRIVER_API_VERSION 0x0100 |
| #define SQL_DRIVER_CREATE create | #define SQL_DRIVER_CREATE create |
| #define SQL_DRIVER_CREATE_NAME "create" /* could not figure out how to # it :( */ | #define SQL_DRIVER_CREATE_NAME "create" /* could not figure out how to # it :( */ |