[Gambas-user] Working with .so library
Admin
admin at allunix.ru
Wed Jun 26 19:24:14 CEST 2019
That is much more then I could ask for. Thank you!
26.06.2019 22:54, Cedron Dawg пишет:
> I've whipped up a sample project which should be similar to your situation.
>
> This project shows:
>
> * How easy it is to interface to a C shared library.
>
> * My clever, but a bit complicated, way of compiling a C shared library from Gambas
>
> * The difference between Gambas' ordinary string functions (ASCII) and the static String functions (UTF-8)
>
> You should note:
>
> * The C code is oblivious to the UTF-8 encoding of the string constant.
>
> * There is no conv function usage
>
> * I use a string instead of allocated memory
>
> Hopefully this will clarify the issues at hand.
>
> Ced
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190627/cb1a1a58/attachment.html>
More information about the User
mailing list