change class name func_ptr -> FuncPtr.
double reference bug fixed.