package pflag

import 

// -- int64 Value
type int64Value int64

func newInt64Value( int64,  *int64) *int64Value {
	* = 
	return (*int64Value)()
}

func ( *int64Value) ( string) error {
	,  := strconv.ParseInt(, 0, 64)
	* = int64Value()
	return 
}

func ( *int64Value) () string {
	return "int64"
}

func ( *int64Value) () string { return strconv.FormatInt(int64(*), 10) }

func int64Conv( string) (interface{}, error) {
	return strconv.ParseInt(, 0, 64)
}

// GetInt64 return the int64 value of a flag with the given name
func ( *FlagSet) ( string) (int64, error) {
	,  := .getFlagType(, "int64", int64Conv)
	if  != nil {
		return 0, 
	}
	return .(int64), nil
}

// Int64Var defines an int64 flag with specified name, default value, and usage string.
// The argument p points to an int64 variable in which to store the value of the flag.
func ( *FlagSet) ( *int64,  string,  int64,  string) {
	.VarP(newInt64Value(, ), , "", )
}

// Int64VarP is like Int64Var, but accepts a shorthand letter that can be used after a single dash.
func ( *FlagSet) ( *int64, ,  string,  int64,  string) {
	.VarP(newInt64Value(, ), , , )
}

// Int64Var defines an int64 flag with specified name, default value, and usage string.
// The argument p points to an int64 variable in which to store the value of the flag.
func ( *int64,  string,  int64,  string) {
	CommandLine.VarP(newInt64Value(, ), , "", )
}

// Int64VarP is like Int64Var, but accepts a shorthand letter that can be used after a single dash.
func ( *int64, ,  string,  int64,  string) {
	CommandLine.VarP(newInt64Value(, ), , , )
}

// Int64 defines an int64 flag with specified name, default value, and usage string.
// The return value is the address of an int64 variable that stores the value of the flag.
func ( *FlagSet) ( string,  int64,  string) *int64 {
	 := new(int64)
	.Int64VarP(, , "", , )
	return 
}

// Int64P is like Int64, but accepts a shorthand letter that can be used after a single dash.
func ( *FlagSet) (,  string,  int64,  string) *int64 {
	 := new(int64)
	.Int64VarP(, , , , )
	return 
}

// Int64 defines an int64 flag with specified name, default value, and usage string.
// The return value is the address of an int64 variable that stores the value of the flag.
func ( string,  int64,  string) *int64 {
	return CommandLine.Int64P(, "", , )
}

// Int64P is like Int64, but accepts a shorthand letter that can be used after a single dash.
func (,  string,  int64,  string) *int64 {
	return CommandLine.Int64P(, , , )
}