mib added a comment. In D143236#4101429 <https://reviews.llvm.org/D143236#4101429>, @bulbazord wrote:
> This is an interesting idea. > > I suppose I find it a little strange that something from the SB API is > passing a void * back to the caller instead of something more well defined > (like another SB class or some primitive) but I suppose that's not the worst > thing in the world. I'm not sure how else you would get a C++ method to > return a type that is dependent on which language the method was called > from... So, technically, we could also do something similar with `SBStructuredData` since now they don't allow holding generic objects. You can then image that the user will be able to unwrap the structured data to get the original object. I think @jingham also had other examples in mind, like for breakpoint python commands, if I'm not mistaken. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143236/new/ https://reviews.llvm.org/D143236 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits