.hgtags
author J. Ali Harlow <ali@juiblex.co.uk>
Fri May 20 11:20:22 2016 +0100 (2016-05-20)
changeset 18 30dd8888a271
parent 17 a3325f438881
child 19 a659f35ffb54
permissions -rw-r--r--
catalog subsystem should cope with being called with different lua states

whelk 0.3.2 was assuming that lua state would always be the same. If it
wasn't then there would be no cat admin metatable registered in the second
lua state but whelk would just assume that there was causing things to go
wrong. We now use luaL_newmetatable() to test for whether a metatable was
already registered and take the appropriate actions if it wasn't.
     1 579831f324c72818382f1eeacfe54b5b9dace0e1 0.3.2
     2 36ce85e5c7c0fe2fb7b140656021b5ef28ab5b7f 0.3.2.50