org.rococoa.cocoa.carboncore
Interface CarbonCoreLibrary.DebugAssertOutputHandlerProcPtr
- All Superinterfaces:
- Callback
- Enclosing interface:
- CarbonCoreLibrary
public static interface CarbonCoreLibrary.DebugAssertOutputHandlerProcPtr
- extends Callback
DebugAssertOutputHandlerProcPtr
Discussion:
DebugAssertOutputHandler is the callback that registers with
DebugLib to handle the output from DebugAssert. The
"componentSignature" through "value" parameters are the raw
values passed to DebugAssert when an exception occurs.
Parameters:
componentSignature:
The unique signature of component causing the assertion.
options:
reserved.
assertionString:
A pointer to a string containing the assertion, or NULL.
exceptionLabelString:
A pointer to a string containing the exceptionLabel, or NULL.
errorString:
A pointer to the error string, or NULL.
fileName:
A pointer to the fileName or pathname (generated by the
preprocessor __FILE__ identifier), or NULL.
lineNumber:
The line number in the file (generated by the preprocessor
__LINE__ identifier), or 0 (zero).
value:
A value associated with the assertion, or NULL.
outputMsg:
The string DebugAssert build which would normally be passed to
DebugStr if a DebugAssertOutputHandler isn't installed.
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Debugging.h
invoke
void invoke(int componentSignature,
int options,
Pointer assertionString,
Pointer exceptionLabelString,
Pointer errorString,
Pointer fileName,
NativeLong lineNumber,
Pointer value,
Pointer outputMsg)
Copyright © 2009. All Rights Reserved.