[dylan-lang/opendylan] 0f1fdf: [dfmc] Fix for passing struct by value in C backen...

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <549f70c62e0c8_8fa3fd3712d32bc6957d@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 0f1fdf49f137a898975601bcfd716a8b1a0bb339
      https://github.com/dylan-lang/opendylan/commit/0f1fdf49f137a898975601bcfd716a8b1a0bb339
  Author: Bruce Mitchener <[email protected]>
  Date:   2014-12-28 (Sun, 28 Dec 2014)

  Changed paths:
    M sources/dfmc/back-end/emit-object.dylan

  Log Message:
  -----------
  [dfmc] Fix for passing struct by value in C backend.

This is a temporary fix for passing structs by value when using
C-FFI with the C backend. This allows for code to be generated
and compile.

It isn't ideal as it would be nice to support "c-name:" options
in C-struct-definer and pass that along and allow it to be used
here, but that's a future improvement.


  Commit: 7ac007f845a6ee89043dac269f76412fc1c9ea46
      https://github.com/dylan-lang/opendylan/commit/7ac007f845a6ee89043dac269f76412fc1c9ea46
  Author: Bruce Mitchener <[email protected]>
  Date:   2014-12-28 (Sun, 28 Dec 2014)

  Changed paths:
    M sources/lib/c-ffi/test/tests.dylan

  Log Message:
  -----------
  [c-ffi,tests] Re-enable struct-by-value tests.

This works now in the C back-end so it can be re-enabled.


Compare: https://github.com/dylan-lang/opendylan/compare/be8e6872c1dd...7ac007f845a6

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.