| 144 | **********************************************************************/ |
| 145 | |
| 146 | int msCopyHashTable(hashTableObj *dst, hashTableObj *src) { |
| 147 | const char *key=NULL; |
| 148 | while (1) { |
| 149 | key = msNextKeyFromHashTable(src, key); |
| 150 | if (!key) |
| 151 | break; |
| 152 | else |
| 153 | msInsertHashTable(dst, key, msLookupHashTable(src, key)); |
| 154 | } |
| 155 | return MS_SUCCESS; |
| 156 | } |
| 157 | |
| 158 | /*********************************************************************** |
| 159 | * msCopyFontSet() * |
no test coverage detected