cgo: init boyer moore cpp code