r2927: Integrate Reini Urban's cormanlisp patches into main UFFI source
[uffi.git] / src / corman / corman-notes.txt
diff --git a/src/corman/corman-notes.txt b/src/corman/corman-notes.txt
new file mode 100644 (file)
index 0000000..471e244
--- /dev/null
@@ -0,0 +1,17 @@
+some notes:
+  we need the :pascal (:stdcall) calling conventions for 
+  (def-function names args &key module returning calling-convention)
+  so I added this. calling-convention defaults to :cdecl
+  but on win32 we mostly use :stdcall
+
+  #+corman is invalid, #+cormanlisp instead
+
+  cormanlisp doesn't need to load and register the dll, since the underlying 
+  LoadLibrary() call does this. we need the module keyword for def-function
+instead.
+  (should probably default to kernel32.dll)
+  I'll think about library.cl, but we'll need more real-world win32 examples. 
+  (ideally the complete winapi :)
+  I also have to look at valentina.
+
+patch -p0 < corman.diff