> On Apr 18, 2017, at 09:11 , Joe Groff wrote:
>
>
>> On Apr 17, 2017, at 6:19 PM, Rick Mann via swift-users
>> wrote:
>>
>> I'm trying to make a module out of a C library and header file. It has at
>> least one empty struct:
>>
>> struct lgs_context_t {};
>>
>> and a function:
>>
>> LGS
> On Apr 17, 2017, at 6:19 PM, Rick Mann via swift-users
> wrote:
>
> I'm trying to make a module out of a C library and header file. It has at
> least one empty struct:
>
> struct lgs_context_t {};
>
> and a function:
>
> LGS_EXPORT struct lgs_context_t* lgs_init(const lgs_context_params_t
I'm trying to make a module out of a C library and header file. It has at least
one empty struct:
struct lgs_context_t {};
and a function:
LGS_EXPORT struct lgs_context_t* lgs_init(const lgs_context_params_t* params);
Swift sees the function, I can call it and assign the result to a variable,