Skip to content

Expose LUA_USER_H as a build option #143

@hubidubi13

Description

@hubidubi13

Lua has a define LUA_USER_H that can be used to add an extra header during compilation. This allows, for example, to override de default lua_[un]lock functions, which are quite useful in a multithreaded environment. Usually this is application specific, so it would be nice if the ziglua build module would allow passing this extra header to the lua compilation.

If this feature is considered useful, i might have a go at implementing it myself.

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