Skip to content

Calling c++ function dosen't return value correctly in lua coroutine function, it just returned function's input arguments #156

Description

@i0gan

Example:

local co = coroutine.create(function()
-- Call c++ function
local list = Squick:GetConfigIDList("Server")
-- The returned list's value is "Server"
end)
local status, err = coroutine.resume()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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