Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ StrCnvrsion(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XtStringConversionWarning − emit boilerplate string conversion error message. 

SYNOPSIS

void XtStringConversionWarning(src, dst_type) String src, dst_type;

Inputs

srcSpecifies the string that could not be converted. 

dst_typeSpecifies the name of the type to which the string could not be converted. 

DESCRIPTION

XtStringConversionWarning() is a convenience routine for use in old-style resource converters that convert from strings.  It issues a warning message with the name conversionError, type string, class XtToolkitError, and default message string: "Cannot convert src to type dst_type" It can be used by a conversion routine to announce a nonfatal conversion error. 

USAGE

New-style resource converters should call XtDisplayStringConversionWarning() instead of XtStringConversionWarning() to display their conversion warning messages.  These functions display similar messages and differ only in that XtDisplayStringConversionWarning() is passed a display pointer as its first argument. 

Old-style converters are not passed a display pointer, and so must use the old function XtStringConversionWarning() which does not require one. 

SEE ALSO

XtDisplayStringConversionWarningUNIX SYSTEM V/68. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026