package interp

import 

// convertFn is the signature of a symbol converter.
type convertFn func(from, to reflect.Type) func(src, dest reflect.Value)

// hooks are external symbol bindings.
type hooks struct {
	convert []convertFn
}

func ( *hooks) ( map[string]reflect.Value) {
	if ,  := getConvertFn(["convert"]);  {
		.convert = append(.convert, )
	}
}

func getConvertFn( reflect.Value) (convertFn, bool) {
	if !.IsValid() {
		return nil, false
	}
	,  := .Interface().(func(,  reflect.Type) func(,  reflect.Value))
	if ! {
		return nil, false
	}
	return , true
}