зеркало из https://github.com/mozilla/gecko-dev.git
adding nsCWeakReference. r:scc a:chofmann
This commit is contained in:
Родитель
d0b1d32f23
Коммит
c6882a2ad2
|
@ -2,6 +2,7 @@ nsAgg.h
|
||||||
nsIAllocator.h
|
nsIAllocator.h
|
||||||
nsCOMPtr.h
|
nsCOMPtr.h
|
||||||
nsCom.h
|
nsCom.h
|
||||||
|
nsCWeakReference.h
|
||||||
nsDebug.h
|
nsDebug.h
|
||||||
nsError.h
|
nsError.h
|
||||||
nsID.h
|
nsID.h
|
||||||
|
|
|
@ -34,6 +34,7 @@ CPPSRCS = \
|
||||||
nsTraceRefcnt.cpp \
|
nsTraceRefcnt.cpp \
|
||||||
nsCOMPtr.cpp \
|
nsCOMPtr.cpp \
|
||||||
nsID.cpp \
|
nsID.cpp \
|
||||||
|
nsCWeakReference.cpp \
|
||||||
nsWeakReference.cpp \
|
nsWeakReference.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
@ -42,6 +43,7 @@ EXPORTS = \
|
||||||
nsIAllocator.h \
|
nsIAllocator.h \
|
||||||
nsCOMPtr.h \
|
nsCOMPtr.h \
|
||||||
nsCom.h \
|
nsCom.h \
|
||||||
|
nsCWeakReference.h \
|
||||||
nsDebug.h \
|
nsDebug.h \
|
||||||
nsError.h \
|
nsError.h \
|
||||||
nsID.h \
|
nsID.h \
|
||||||
|
|
|
@ -28,6 +28,7 @@ EXPORTS = \
|
||||||
nsIAllocator.h \
|
nsIAllocator.h \
|
||||||
nsCOMPtr.h \
|
nsCOMPtr.h \
|
||||||
nsCom.h \
|
nsCom.h \
|
||||||
|
nsCWeakReference.h \
|
||||||
nsDebug.h \
|
nsDebug.h \
|
||||||
nsError.h \
|
nsError.h \
|
||||||
nsID.h \
|
nsID.h \
|
||||||
|
@ -67,6 +68,7 @@ CPP_OBJS = \
|
||||||
.\$(OBJDIR)\nsDebug.obj \
|
.\$(OBJDIR)\nsDebug.obj \
|
||||||
.\$(OBJDIR)\nsAllocator.obj \
|
.\$(OBJDIR)\nsAllocator.obj \
|
||||||
.\$(OBJDIR)\nsCOMPtr.obj \
|
.\$(OBJDIR)\nsCOMPtr.obj \
|
||||||
|
.\$(OBJDIR)\nsCWeakReference.obj \
|
||||||
.\$(OBJDIR)\nsID.obj \
|
.\$(OBJDIR)\nsID.obj \
|
||||||
.\$(OBJDIR)\nsTraceRefcnt.obj \
|
.\$(OBJDIR)\nsTraceRefcnt.obj \
|
||||||
.\$(OBJDIR)\nsWeakReference.obj \
|
.\$(OBJDIR)\nsWeakReference.obj \
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
#include "nsAVLTree.h"
|
#include "nsAVLTree.h"
|
||||||
#include "nsHashtableEnumerator.h"
|
#include "nsHashtableEnumerator.h"
|
||||||
#include "nsPipe2.h"
|
#include "nsPipe2.h"
|
||||||
|
#include "nsCWeakReference.h"
|
||||||
#include "nsWeakReference.h"
|
#include "nsWeakReference.h"
|
||||||
#include "nsISizeOfHandler.h"
|
#include "nsISizeOfHandler.h"
|
||||||
#include "nsTextFormater.h"
|
#include "nsTextFormater.h"
|
||||||
|
@ -103,6 +104,8 @@ void XXXNeverCalled()
|
||||||
XPTI_GetInterfaceInfoManager();
|
XPTI_GetInterfaceInfoManager();
|
||||||
NS_NewGenericFactory(NULL, NULL, NULL);
|
NS_NewGenericFactory(NULL, NULL, NULL);
|
||||||
NS_NewHashtableEnumerator(NULL, NULL, NULL, NULL);
|
NS_NewHashtableEnumerator(NULL, NULL, NULL, NULL);
|
||||||
|
nsCWeakProxy(0, 0);
|
||||||
|
nsCWeakReferent(0);
|
||||||
NS_GetWeakReference(NULL);
|
NS_GetWeakReference(NULL);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
TestSegmentedBuffer();
|
TestSegmentedBuffer();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче