Jump to content

UniQueryBlank: Difference between revisions

From EDM2
Created page with "UniQueryBlank queries character attributes. ==Syntax== int UniQueryBlank (const LocaleObject locale_object, UniChar uc) ==Parameters== ; locale_object (const LocaleObjec..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
UniQueryBlank queries character attributes.  
UniQueryBlank queries character attributes.


==Syntax==
==Syntax==
  int UniQueryBlank (const LocaleObject locale_object, UniChar uc)  
  int UniQueryBlank (const LocaleObject locale_object, UniChar uc)


==Parameters==
==Parameters==
; locale_object (const LocaleObject) : A locale object created by UniCreateLocaleObject or NULL.  
;locale_object (const LocaleObject) : A locale object created by UniCreateLocaleObject or NULL.
     
;uc (UniChar) : The UniChar character to query.
; uc (UniChar) : The UniChar character to query.  


==Returns==
==Returns==
; Return Value (int) - returns : If the result of the test is true, the function returns 1. Otherwise, 0 is returned.  
;Return Value (int) - returns : If the result of the test is true, the function returns 1. Otherwise, 0 is returned.


==Remarks==
==Remarks==
Line 17: Line 16:
The locale may be specified as NULL to indicate default Unicode character attributes.
The locale may be specified as NULL to indicate default Unicode character attributes.


==Example==
<PRE>
</PRE>
===Format===
===Format===
<PRE>
<PRE>
#include <unidef.h>
#include <unidef.h>


int UniQueryBlank
int UniQueryBlank (const LocaleObject locale_object, UniChar uc)
    (const LocaleObject locale_object, UniChar uc)  
</PRE>
</PRE>
==Related Functions==
==Related Functions==
* [[UniQueryAttr]]
* [[UniQueryAttr]]
* [[UniQueryChar]]
* [[UniQueryChar]]
* [[UniQueryCharAttr]]
* [[UniQueryCharAttr]]
* [[UniQueryCharType]]  
* [[UniQueryCharType]]


[[Category:Uni]]
[[Category:Uni]]

Latest revision as of 14:18, 3 April 2025

UniQueryBlank queries character attributes.

Syntax

int UniQueryBlank (const LocaleObject locale_object, UniChar uc)

Parameters

locale_object (const LocaleObject)
A locale object created by UniCreateLocaleObject or NULL.
uc (UniChar)
The UniChar character to query.

Returns

Return Value (int) - returns
If the result of the test is true, the function returns 1. Otherwise, 0 is returned.

Remarks

This function provides the functionality of UniCreateAttrObject, UniQueryCharAttr, and UniFreeAttrObject as an atomic operation for the invariant attributes.

The locale may be specified as NULL to indicate default Unicode character attributes.

Format

#include <unidef.h>

int UniQueryBlank (const LocaleObject locale_object, UniChar uc)

Related Functions