Skip to content

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

@i0gan

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()

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