|
|
External function API changes
|
------
|
Opaque types are supported in OmniMark, but implemented in the external function API.
External functions now take optional and remainder arguments.
New failure indicators:
- OMXF_fi_ArgumentNotOptional
- OMXF_fi_NotOpaqueReturningFunction
- OMXF_fi_NullCopySubFunction
- OMXF_fi_NullReleaseSubFunction
- OMXF_fi_OptionalArgumentNotSpecified
- OMXF_fi_RemainderArgument
- OMXF_fi_UnknownArgument
- OMXF_fi_UnknownOpaqueArgument
- OMXF_fi_WriteToLogMessageFailed
New OMXF_StreamAttachmentType_type(s):
New enumerated type: OMXF_ReturnValueType_type. Values are:
- OMXF_rvt_Failure
- OMXF_rvt_Counter
- OMXF_rvt_ExternalOutput
- OMXF_rvt_ExternalSource
- OMXF_rvt_NoReturnValue
- OMXF_rvt_Opaque
- OMXF_rvt_Stream
- OMXF_rvt_Switch
New enumerated type: OMXF_ArgumentClass_type. Values are:
- OMXF_ac_NoArgumentClass
- OMXF_ac_Value
- OMXF_ac_Modifiable
- OMXF_ac_ReadOnly
- OMXF_ac_Remainder
New enumerated type: OMXF_ArgumentObjectType_type. Values are:
- OMXF_aot_NoArgumentObjectType
- OMXF_aot_CounterShelf
- OMXF_aot_OpaqueShelf
- OMXF_aot_StreamShelf
- OMXF_aot_SwitchShelf
New types:
- OMXF_ArgumentInfoMethodVector_type
- OMXF_ArgumentInfo_type
- OMXF_OpaqueHeader_type
- OMXF_OpaqueShelfMethodVector_type
- OMXF_OpaqueShelf_type
New Function Pointer types:
- OMXF_OpaqueCopy_fun
- OMXF_OpaqueCreator_fun
- OMXF_OpaqueRelease_fun
New Methods:
- OMXF_ArgumentIsOptional
- OMXF_ArgumentIsSpecified
- OMXF_GetArgumentClass
- OMXF_GetArgumentInfo
- OMXF_GetArgumentInfoByPosition
- OMXF_GetArgumentName
- OMXF_GetArgumentObjectType
- OMXF_GetArgumentPosition
- OMXF_GetArgumentTypeName
- OMXF_GetCounterArgumentByPosition
- OMXF_GetNameOfOmniMarkFunction
- OMXF_GetNameOfReturnType
- OMXF_GetNumberOfArguments
- OMXF_GetOpaqueArgumentByPosition
- OMXF_GetOpaqueCopySubfunction
- OMXF_GetOpaqueItemReference
- OMXF_GetOpaqueReleaseSubfunction
- OMXF_GetStreamArgumentByPosition
- OMXF_GetSwitchArgumentByPosition
- OMXF_GetTypeOfReturnValue
- OMXF_InitializeOpaqueHeader
- OMXF_LogMessage
- OMXF_SetOpaqueItem
- OMXF_SetOpaqueReturnValue
For more information see the OmniMark external function programmer's guide
.
Generated: April 21, 1999 at 2:01:33 pm
If you have any comments about this section of the documentation, send email to [email protected]
Copyright © OmniMark Technologies Corporation, 1988-1999.