xapian-bridge C port

endlessm/eos-sdk#2463
This comment doesn't apply to anything now that you removed `do_subst`.