return value from C space to ruby space