mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
Extend annotations to pass data pointers around to the functions
llvm-svn: 374
This commit is contained in:
parent
69d48de1ec
commit
9ae4b40717
@ -176,7 +176,8 @@ struct AnnotationManager {
|
||||
// Annotable::getOrCreateAnnotation method.
|
||||
//
|
||||
static void registerAnnotationFactory(AnnotationID ID,
|
||||
Annotation *(*Func)(AnnotationID, Annotable *));
|
||||
Annotation *(*Func)(AnnotationID, Annotable *, void*),
|
||||
void *ExtraData = 0);
|
||||
|
||||
// createAnnotation - Create an annotation of the specified ID for the
|
||||
// specified object, using a register annotation creation function.
|
||||
|
@ -176,7 +176,8 @@ struct AnnotationManager {
|
||||
// Annotable::getOrCreateAnnotation method.
|
||||
//
|
||||
static void registerAnnotationFactory(AnnotationID ID,
|
||||
Annotation *(*Func)(AnnotationID, Annotable *));
|
||||
Annotation *(*Func)(AnnotationID, Annotable *, void*),
|
||||
void *ExtraData = 0);
|
||||
|
||||
// createAnnotation - Create an annotation of the specified ID for the
|
||||
// specified object, using a register annotation creation function.
|
||||
|
Loading…
Reference in New Issue
Block a user