Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIUnicharBuffer.h File Reference
#include "nscore.h"
#include "nsISupports.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  nsIUnicharBuffer
 Interface to a buffer that holds unicode characters. More...




NS_COM nsresult NS_NewUnicharBuffer (nsIUnicharBuffer **aInstancePtrResult, nsISupports *aOuter, PRUint32 aBufferSize=0)
 Factory method for nsIUnicharBuffer.

Define Documentation

{ 0x14cf6970, 0x93b5, 0x11d1, \
  {0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }

Definition at line 43 of file nsIUnicharBuffer.h.

{ /* c81fd8f0-0d6b-11d3-9331-00104ba0fd40 */         \
    0xc81fd8f0,                                      \
    0x0d6b,                                          \
    0x11d3,                                          \
    {0x93, 0x31, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \

Definition at line 65 of file nsIUnicharBuffer.h.

Function Documentation

NS_COM nsresult NS_NewUnicharBuffer ( nsIUnicharBuffer **  aInstancePtrResult,
nsISupports *  aOuter,
PRUint32  aBufferSize = 0 

Factory method for nsIUnicharBuffer.

Definition at line 125 of file nsUnicharBuffer.cpp.

  nsresult rv;
  nsIUnicharBuffer* buf;
  rv = UnicharBufferImpl::Create(aOuter, NS_GET_IID(nsIUnicharBuffer), 
  if (NS_FAILED(rv)) return rv;
  rv = buf->Init(aBufferSize);
  if (NS_FAILED(rv)) {
    return rv;
  *aInstancePtrResult = buf;
  return rv;

Here is the call graph for this function:

Here is the caller graph for this function: