Updated todo list
This commit is contained in:
parent
28e7040a09
commit
13d3d640ec
3
ph7.go
3
ph7.go
@ -289,7 +289,7 @@ func (c *Context) FunctionName() string {
|
||||
|
||||
type Value C.ph7_value
|
||||
|
||||
// TODO Make *Value a fmt.Formatter, or at least a Stringer.
|
||||
// TODO Make *Value a fmt.Formatter.
|
||||
|
||||
func (v *Value) ToInt() int {
|
||||
return int(C.ph7_value_to_int((*C.ph7_value)(v)))
|
||||
@ -347,6 +347,7 @@ func (v *Value) Double(d float64) error {
|
||||
return newError(C.ph7_value_double((*C.ph7_value)(v), C.double(d)))
|
||||
}
|
||||
|
||||
// TODO Rename or remove this so I can make *Value a Stringer.
|
||||
func (v *Value) String(s string) error {
|
||||
cstr := C.CString(s)
|
||||
defer C.free(unsafe.Pointer(cstr))
|
||||
|
Loading…
Reference in New Issue
Block a user