Re: ffi library port to Windows
Enrico Migliore <[email protected]> Fri, 16 Jun 2006 17:49:09 +0200
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | - |
| Message-ID | <[email protected]> |
Enrico Migliore wrote: > Hi Etienne, > > I've tested successfully the following types: > > 1. ffi_type_sint8 (SVM_TYPE_BYTE) > 2. ffi_type_uint16 (SVM_TYPE_CHAR) > 3. ffi_type_float32 (SVM_TYPE_FLOAT) > 4. ffi_type_pointer (SVM_TYPE_REFERENCE) > > Based on the basic tests bunled with the ffi library, I wrote some > other "sneakier" tests, in order to be completely sure that the port > works. > > I'm planning to finish all the tests by sunday. > > > ciao, > Enrico > Hi Etienne, today I've tested successfully the following types: 1. ffi_type_double (SVM_TYPE_DOUBLE) 2. ffi_type_sint64 (SVM_TYPE_LONG) 3. ffi_type_uint8 (SVM_TYPE_BOOLEAN) 4. ffi_type_sint32 (SVM_TYPE_INT) 5.ffi_type_sint16 (SVM_TYPE_SHORT) The port of the ffi library, to the MSVC compiler, seems to work fine:-) The key of all, is the MSVC win32.c assembly file, which contains a 1:1 translation of the GCC win32s. file. I wrote set of tests which can be run as an automatic test-suite. Also, I wrote some notes which I'll post next monday, as a final report of this job. What am I supposed to do now? Enrico