Create the array of functions in Go, then pass the address to set_c_functions
check for decoding errors