module M
    using CxxWrap
    using CxxWrap.CxxWrapCore: SafeCFunction

    struct JLClient 
        fuck::Int32
        # fuckCb::Ptr{Nothing}
        fuckCb::SafeCFunction
    end

    function fuckCb(x)
        println(x)
        println(x)
        println(x)
        return nothing
    end

    function Client()
        jl_client = JLClient(
            32,
            # @cfunction(fuckCb, Nothing, (Int32, )),
        )
        return TestCppClient(jl_client)
    end

    @wrapmodule(joinpath(@__DIR__, "../../result/lib", "libIBApiWrapper"))

    function __init__()
        @initcxx
    end
end

