diff --git a/build/lib.win32-2.4/testdll.pyd b/build/lib.win32-2.4/testdll.pyd deleted file mode 100644 index f0d26ae..0000000 Binary files a/build/lib.win32-2.4/testdll.pyd and /dev/null differ diff --git a/build/temp.win32-2.4/Release/def.obj b/build/temp.win32-2.4/Release/def.obj deleted file mode 100644 index 4c0c424..0000000 Binary files a/build/temp.win32-2.4/Release/def.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/exception.obj b/build/temp.win32-2.4/Release/exception.obj deleted file mode 100644 index 31bba5e..0000000 Binary files a/build/temp.win32-2.4/Release/exception.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/ftype.obj b/build/temp.win32-2.4/Release/ftype.obj deleted file mode 100644 index eb60ae5..0000000 Binary files a/build/temp.win32-2.4/Release/ftype.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/lazy_load.obj b/build/temp.win32-2.4/Release/lazy_load.obj deleted file mode 100644 index 3a995f5..0000000 Binary files a/build/temp.win32-2.4/Release/lazy_load.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/make_object.obj b/build/temp.win32-2.4/Release/make_object.obj deleted file mode 100644 index 24c9eb7..0000000 Binary files a/build/temp.win32-2.4/Release/make_object.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/object.obj b/build/temp.win32-2.4/Release/object.obj deleted file mode 100644 index bf948b2..0000000 Binary files a/build/temp.win32-2.4/Release/object.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/pyd.obj b/build/temp.win32-2.4/Release/pyd.obj deleted file mode 100644 index a181dc4..0000000 Binary files a/build/temp.win32-2.4/Release/pyd.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/python.obj b/build/temp.win32-2.4/Release/python.obj deleted file mode 100644 index 1125d65..0000000 Binary files a/build/temp.win32-2.4/Release/python.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/python_dll_def.def b/build/temp.win32-2.4/Release/python_dll_def.def deleted file mode 100644 index 055fd16..0000000 --- a/build/temp.win32-2.4/Release/python_dll_def.def +++ /dev/null @@ -1,5 +0,0 @@ -LIBRARY "testdll.pyd" -EXETYPE NT -SUBSYSTEM WINDOWS -CODE SHARED EXECUTE -DATA WRITE \ No newline at end of file diff --git a/build/temp.win32-2.4/Release/python_dll_windows_boilerplate.obj b/build/temp.win32-2.4/Release/python_dll_windows_boilerplate.obj deleted file mode 100644 index d32f1e6..0000000 Binary files a/build/temp.win32-2.4/Release/python_dll_windows_boilerplate.obj and /dev/null differ diff --git a/build/temp.win32-2.4/Release/testdll.obj b/build/temp.win32-2.4/Release/testdll.obj deleted file mode 100644 index 41103ef..0000000 Binary files a/build/temp.win32-2.4/Release/testdll.obj and /dev/null differ diff --git a/pyd/ftype.d b/pyd/ftype.d index 3392160..656083a 100644 --- a/pyd/ftype.d +++ b/pyd/ftype.d @@ -159,6 +159,8 @@ public template ReturnType(T) { static if (is(Deref!(T) U == function)) { alias U ReturnType; + } else static if (is(Deref!(T) U == delegate)) { + alias ReturnType!(U) ReturnType; } else static assert (false); }