Ecere SDK/eC Forums http://ec-lang.org/community/ Print view |
|
C & eC Name mangling http://ec-lang.org/community/viewtopic.php?f=1&t=133 |
Page 1 of 1 |
Author: | jfbilodeau [ Thu Feb 17, 2011 2:41 pm ] |
Post subject: | C & eC Name mangling |
Hey, Is there any way to prevent ecc from mangling names of C functions? For example, in CocoaDispatch.ec: Code: Select all
Thanks! |
Author: | jerome [ Thu Feb 17, 2011 3:19 pm ] |
Post subject: | Re: C & eC Name mangling |
That's happening because you are inside a namespace. The 'default' keyword is to get around that. You can put it either at the global level, and all further symbols will be unmangled: e.g.: Code: Select all
Code: Select all
|
Author: | jfbilodeau [ Thu Feb 17, 2011 3:23 pm ] |
Post subject: | Re: C & eC Name mangling |
Thanks! I realized you have already mentioned the default keyword, but I forgot about it |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |