Is there possible to implement Signal/Slot pattern in C? I am
currently doing with an embedded project that use C only.
-
narke
You would have to use the C preprocessor.
See Miro Samek's book Practical Statecharts in C/C++ for tips on doing
OO in C.
Is it a standalone tool? Instead of a part of compiler itself?
>
> See Miro Samek's book Practical Statecharts in C/C++ for tips on doing
Okay, I will find it and read some.
> OO in C.
It seems you are tripped up by not knowing what the C preprocessor
is. If you do not know this, then you likely do not know C. It is
possible that your C compiler may not offer the C preprocessor,
either, if it is for an embedded device.