Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_INTERNAL void U_EXPORT2 le_reset ( le_engine engine,
LEErrorCode success 

This function frees the glyph, character index and position arrays so that the LayoutEngine can be reused to layout a different characer array. (This function is also called by le_close)

engine - the LayoutEngine
success - set to an error code if the operation fails

For internal use only.

Definition at line 152 of file loengine.cpp.

References LE_ILLEGAL_ARGUMENT_ERROR, NULL, and LayoutEngine::reset().

      LayoutEngine *le = (LayoutEngine *) engine;

      if (le == NULL) {
            *success = LE_ILLEGAL_ARGUMENT_ERROR;


Generated by  Doxygen 1.6.0   Back to index