Functions

ut_math.cpp File Reference

#include "ut_types.h"
#include "ut_math.h"

Functions

UT_uint32 UT_newNumber ()

Function Documentation

UT_uint32 UT_newNumber (  ) 

Guaranteed to return a unique new number quickly on each call, for the first 4.2 billion calls or so

Referenced by s_RTF_ListenerWriteDoc::_openFrame(), s_RTF_ListenerWriteDoc::_writeAnnotation(), s_RTF_ListenerWriteDoc::_writeImageInRTF(), and AP_CocoaApp::pasteFromClipboard().