Function Synopses
ANSI Formatting
Here's an example with two modifier elements:
// This is a funcsynopsisinfo
static
SILLY
Foo * foo_list_get_nth
FooList *list
int n
This example uses void:
static
void foo_noop
This example uses varargs:
static
void foo_process_args
Foo *foo
This example places a modifier after the
func, for some strange reason:
void foo_process_args
Foo *foo
AFTER
This example uses funcparams:
void foo_list_foreach
FooList *list
int (*func) Foo *, void *
void *user_data
K&R Formatting
Here's an example with two modifier elements:
// This is a funcsynopsisinfo
static
SILLY
Foo * foo_list_get_nth
FooList *list
int n
This example uses void:
static
void foo_noop
This example uses varargs:
static
void foo_process_args
Foo *foo
This example places a modifier after the
func, for some strange reason:
void foo_process_args
Foo *foo
AFTER
This example uses funcparams:
void foo_list_foreach
FooList *list
int (*func) Foo *, void *
void *user_data