aprantl added a comment. > Also, I've been thinking about another approach with having a method in > CMICmdBase that takes two parameters: pointers to a functions in which user > could specify needed actions. But the main problem is that we don't have a > knowledge about these functions, they may have any possible signatures. I > don't yet know is it possible to have a pointer to a function with variable > number of arguments of unknown types.
Could you post an example of two use-cases where you would need different number of arguments? https://reviews.llvm.org/D48295 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits