Skip to content

Instantly share code, notes, and snippets.

@jeffomatic
Created August 3, 2012 05:17
Show Gist options
  • Save jeffomatic/3244608 to your computer and use it in GitHub Desktop.
Save jeffomatic/3244608 to your computer and use it in GitHub Desktop.
blog: jl_signal, code: signal declarations with macros
JL_SIGNAL() oSignalThatEmitsNoParams;
JL_SIGNAL( int ) oSignalThatEmitsInt;
JL_SIGNAL( const char* const* ) oEmitsConstArraysOfConstStrings;
JL_SIGNAL( unsigned, double, size_t, char**& ) oSignalThatIsComplicated;
JL_SIGNAL( JL_SIGNAL()& ) oSignalThatIsMeta;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment