Method: MaxMindDB#close
- Defined in:
- ext/mmdb/mmdb.c
#close ⇒ Object
252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'ext/mmdb/mmdb.c', line 252 VALUE maxminddb_close(VALUE self) { struct MaxMindDB *ptr = MaxMindDB(self); if (ptr) { if (ptr->mmdb) { MMDB_close(ptr->mmdb); ptr->mmdb = NULL; } } return Qnil; } |