xapian-bridge C port

endlessm/eos-sdk#2463
You can `return` after this line, I think.