Skip to content

C linkage for static auth_current_user #8

Open
@locutus3009

Description

@locutus3009

Please prove me if I am wrong, but

static int auth_current_user(lua_State *L) { ...

must have a C linkage as well e.g. it must be enclosed in extern "C" {} because lua expects functions with C calling convention.

If you don't mind, I may prepare a MR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions