Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macros to support overloaded signal names #10

Open
hs-apotell opened this issue Nov 16, 2019 · 0 comments
Open

Add macros to support overloaded signal names #10

hs-apotell opened this issue Nov 16, 2019 · 0 comments

Comments

@hs-apotell
Copy link

Copperspice has the macros that allows overloaded functions to be used as signals but cs_signal is missing those functions.

Following code throws compile error in cs_signal but works as expected (with alternative macros) in copperspice.

SIGNAL_1(void added(ClassA *a)
SIGNAL_2(added, a)

SIGNAL_1(void added(ClassB *b)
SIGNAL_2(added, b)

There are some discussions (#2) that talk about supporting overloaded signals but I can't seem to find any examples of how to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant