mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Extend annotations to pass data pointers around to the functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
491bff495f
commit
a0facd063b
@ -176,7 +176,8 @@ struct AnnotationManager {
|
|||||||
// Annotable::getOrCreateAnnotation method.
|
// Annotable::getOrCreateAnnotation method.
|
||||||
//
|
//
|
||||||
static void registerAnnotationFactory(AnnotationID ID,
|
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
|
// createAnnotation - Create an annotation of the specified ID for the
|
||||||
// specified object, using a register annotation creation function.
|
// specified object, using a register annotation creation function.
|
||||||
|
@ -176,7 +176,8 @@ struct AnnotationManager {
|
|||||||
// Annotable::getOrCreateAnnotation method.
|
// Annotable::getOrCreateAnnotation method.
|
||||||
//
|
//
|
||||||
static void registerAnnotationFactory(AnnotationID ID,
|
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
|
// createAnnotation - Create an annotation of the specified ID for the
|
||||||
// specified object, using a register annotation creation function.
|
// specified object, using a register annotation creation function.
|
||||||
|
@ -176,7 +176,8 @@ struct AnnotationManager {
|
|||||||
// Annotable::getOrCreateAnnotation method.
|
// Annotable::getOrCreateAnnotation method.
|
||||||
//
|
//
|
||||||
static void registerAnnotationFactory(AnnotationID ID,
|
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
|
// createAnnotation - Create an annotation of the specified ID for the
|
||||||
// specified object, using a register annotation creation function.
|
// specified object, using a register annotation creation function.
|
||||||
|
Loading…
Reference in New Issue
Block a user