API now supporting labels
This commit is contained in:
parent
27009e6835
commit
5efa3e0670
@ -71,7 +71,8 @@ TargetPlugin target_plugin =
|
|||||||
_as_section,
|
_as_section,
|
||||||
_as_function_begin,
|
_as_function_begin,
|
||||||
_as_function_call,
|
_as_function_call,
|
||||||
_as_function_end
|
_as_function_end,
|
||||||
|
NULL /* FIXME implement label_set */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,13 +44,14 @@ static int _graph_function_end(void);
|
|||||||
/* variables */
|
/* variables */
|
||||||
TargetPlugin target_plugin =
|
TargetPlugin target_plugin =
|
||||||
{
|
{
|
||||||
NULL,
|
NULL, /* options */
|
||||||
_graph_init,
|
_graph_init,
|
||||||
_graph_exit,
|
_graph_exit,
|
||||||
NULL,
|
NULL, /* section */
|
||||||
_graph_function_begin,
|
_graph_function_begin,
|
||||||
_graph_function_call,
|
_graph_function_call,
|
||||||
_graph_function_end
|
_graph_function_end,
|
||||||
|
NULL /* label_set */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ typedef struct _TargetPlugin
|
|||||||
int (*function_begin)(char const * name);
|
int (*function_begin)(char const * name);
|
||||||
int (*function_call)(char const * name);
|
int (*function_call)(char const * name);
|
||||||
int (*function_end)(void);
|
int (*function_end)(void);
|
||||||
|
int (*label_set)(char const * name);
|
||||||
} TargetPlugin;
|
} TargetPlugin;
|
||||||
|
|
||||||
#endif /* !_C99_TARGET_TARGET_H */
|
#endif /* !_C99_TARGET_TARGET_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user