| 100 | return -1; |
| 101 | } |
| 102 | int hadmapClose(txMapHandle** ppHandle) { |
| 103 | if (!ppHandle || !(*ppHandle)) { |
| 104 | return TX_HADMAP_HANDLE_OK; |
| 105 | } |
| 106 | delete (*ppHandle); |
| 107 | (*ppHandle) = NULL; |
| 108 | return TX_HADMAP_HANDLE_OK; |
| 109 | } |
| 110 | |
| 111 | int hadmapOutput(const char* fileInfo, const MAP_DATA_TYPE& type, txMapHandle* ppHandle) { |
| 112 | if ((ppHandle) == NULL) { |
no outgoing calls