[dylan-lang/melange] 299f73: Handle typedefs that differ in case.
GitHub <[email protected]> Sat, 12 Dec 2015 01:30:22 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <566be92e5c424_f8f3ff0ac7f32bc15835e@hookshot-fe1-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/melange
Commit: 299f73bb30821e840b2e99e469f0f68f4c467619
https://github.com/dylan-lang/melange/commit/299f73bb30821e840b2e99e469f0f68f4c467619
Author: Bruce Mitchener <[email protected]>
Date: 2015-12-12 (Sat, 12 Dec 2015)
Changed paths:
M melange-core/c-decl-write-c-ffi.dylan
M melange-core/c-decl-write.dylan
M melange-core/library.dylan
M tests/test.struct/expected-c-ffi.dylan
M tests/test.struct/struct.h
Log Message:
-----------
Handle typedefs that differ in case.
The libpq-fe.h in postgresql has a struct that has a typedef
where the names just differ by case (pqNotify vs PQnotify).
* melange-core/c-decl-write-c-ffi.dylan
(write-declaration on <typedef-declaration>): Do a case insensitive
comparison of the typedef and underlying type names.
* melange-core/c-decl-write.dylan
(write-declaration on <typedef-declaration>): Likewise.
* melange-core/library.dylan
(module c-declarations): We need strings now for string-equal-ic?.
* tests/test.struct: Update tests.
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter