Not generating function pointer if some inputs are missing