[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access Variables from gambas embedded in shared libraries


Attachment missing?


Jussi

On Fri, Oct 2, 2026 at 1:34 AM Brian G <brian@xxxxxxxxxxxxxxxx> wrote:

> I have been doing this for a while.
>
> I thought others may have had to do the same or similar  things with
> Linux libraries.
>
> The sample  app accesses all the variables in the readline library.
>
> It would also be nice if the compiler extern allowed to define shared
> variables in a library using this technique
>
> as in
>
> extern rl_point as integer in  "libreadline:8"
>
> not just functions.
>
> Anyway I hope this helps someone trying to do the same thing.
>
> cheers
>
> --
> ~~~~ Brian
>
>

Follow-Ups:
Re: How to access Variables from gambas embedded in shared librariesBrian G <brian@xxxxxxxxxxxxxxxx>
References:
How to access Variables from gambas embedded in shared librariesBrian G <brian@xxxxxxxxxxxxxxxx>