10 lines
215 B
C
10 lines
215 B
C
|
|
void myFuncSimple( void (*funcParameter)(void) )
|
||
|
|
{
|
||
|
|
/* ... */
|
||
|
|
|
||
|
|
(*funcParameter)(); /* Call the passed function. */
|
||
|
|
funcParameter(); /* Same as above with slight different syntax. */
|
||
|
|
|
||
|
|
/* ... */
|
||
|
|
}
|