gecko/xpcom/build/mozPoisonWrite.h
Rafael Ávila de Espíndola bfbabd4190 Bug 804828 - Talagent trips ValidWriteAssert (when Firefox tries to restart in safe mode due to previous crashes). r=ted.
--HG--
extra : rebase_source : dd4a3dec5204181a4c421d84daccf9ea172757c8
2012-10-31 14:18:03 -04:00

23 lines
658 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim:set ts=4 sw=4 sts=4 ci et: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/Types.h"
#include <stdio.h>
MOZ_BEGIN_EXTERN_C
void MozillaRegisterDebugFD(int fd);
void MozillaUnRegisterDebugFD(int fd);
void MozillaUnRegisterDebugFILE(FILE *f);
MOZ_END_EXTERN_C
#ifdef __cplusplus
namespace mozilla {
void PoisonWrite();
void DisableWritePoisoning();
void EnableWritePoisoning();
}
#endif