avoid pass go address to C func