![](https://secure.gravatar.com/avatar/5243970803cb1967bdf6ea217d3ab211.jpg?s=120&d=mm&r=g)
24 Apr
2013
24 Apr
'13
10:15 a.m.
On Wed, Apr 24, 2013 at 9:35 AM, Willem Rein Oudshoorn <woudshoo@xs4all.nl> wrote:
(defctype struct-index-time (:struct git-index-time))
And use as type:
struct-index-time
The `translate-from-foreign` is not called and I end up with untranslated values.
I thought that (defctype ...) worked as a typedef and naively expected the type translation to still work.
Is this as expected?
Your expectations are correct. That should work. If you could open a launchpad bug with a small test case that'd be very helpful. Cheers, -- Luís Oliveira http://r42.eu/~luis/