Bo Yao
Bo Yao
I would like to work on this. Today I took a look at ffigen, and CCL's ffi doc. Looks not good to always patch gcc to build ffigen. Using https://github.com/rpav/c2ffi...
@xrme Thanks for the detailed observation. I need to study whether c2ffi generates isomorphic to ffigen after get ffigen4 works and try to compare their output. It's a bit difficult...
Thanks for these guides. Today I tried to build it on archlinux, but the gcc-4.0's makefile doesn't work for gcc-7.2. So I tried to build it in a Fedora 4...
Hi @xrme. I made a little progress today. Also who is gb in the svn log? I would rebase and use his name in git. Thanks! Made some minor change...
@xrme Thanks. Recent progress: after read `ffigen.c`, I found its structure is a bit difficult to fit libclang. libclang is given you the AST and you walk on it but...
Progress report: finished macro, enum, reference a primitive types, part of reference a pointer type and define a variable of primitive type: https://github.com/ailisp/ffigen5 When I'm testing with various type of...
Thank you! Sounds good since it doesn't affect how we use such callback in lisp. I also prefer a stable interface.
@eschaton Hi, thanks and sorry for the late response. I was busy with a interview in San Francisco and just back home. I post a message in cfe-dev mail list:...
Today I finished almost all c part. Now lefting objc class and category. I have a question about function definition: in about line 460 of ffigen.c: ```c /* struct ffi_typeinfo...
Hi @xrme, I'm so glad you found it useful. Not sure if you forked my most recent version, now it supports system include path and works with h-to-ffi.sh. I manually...