Speech synthesis: Difference between revisions
Content deleted Content added
Added Kotlin |
→{{header|Kotlin}}: Added 'works with Ubuntu 16.04' plus a pre-amble. |
||
Line 192: | Line 192: | ||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |
||
{{trans|C}} |
{{trans|C}} |
||
{{works with|Ubuntu 16.04}} |
|||
Note that this code does not work on Windows 10. |
|||
Note also that Kotlin Native does not support the automatic translation of C function-like macros such as WIFEXITED and WEXITSTATUS. |
|||
Whilst it is often possible to wrap such macros in 'ordinary' C functions and then expose the latter to Kotlin via a .klib, it is not worth the effort here. I have therefore confined myself to simply reporting a non-zero error status. |
|||
<lang scala>// Kotlin Native v0.6.2 |
<lang scala>// Kotlin Native v0.6.2 |
||