From 1549e88b4ce3fac3c4d6cb7044c651ee83d2b153 Mon Sep 17 00:00:00 2001 From: "G.J.R. Timmer" Date: Thu, 22 Aug 2019 15:41:52 +0200 Subject: [PATCH] Implements #729 --- callback.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/callback.go b/callback.go index f7fe8d0..95235ac 100644 --- a/callback.go +++ b/callback.go @@ -242,6 +242,8 @@ func callbackArgGeneric(v *C.sqlite3_value) (reflect.Value, error) { func callbackArg(typ reflect.Type) (callbackArgConverter, error) { switch typ.Kind() { + case reflect.Ptr: + return callbackArg(typ.Elem()) case reflect.Interface: if typ.NumMethod() != 0 { return nil, errors.New("the only supported interface type is interface{}")