Wed, 31 Dec 2014 06:55:46 +0100
Added tag TORBROWSER_REPLICA for changeset 6474c204b198
michael@0 | 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | /* |
michael@0 | 7 | ** RCBase.cpp - Mixin class for NSPR C++ wrappers |
michael@0 | 8 | */ |
michael@0 | 9 | |
michael@0 | 10 | #include "rcbase.h" |
michael@0 | 11 | |
michael@0 | 12 | RCBase::~RCBase() { } |
michael@0 | 13 | |
michael@0 | 14 | PRSize RCBase::GetErrorTextLength() { return PR_GetErrorTextLength(); } |
michael@0 | 15 | PRSize RCBase::CopyErrorText(char *text) { return PR_GetErrorText(text); } |
michael@0 | 16 | |
michael@0 | 17 | void RCBase::SetError(PRErrorCode error, PRInt32 oserror) |
michael@0 | 18 | { PR_SetError(error, oserror); } |
michael@0 | 19 | |
michael@0 | 20 | void RCBase::SetErrorText(PRSize text_length, const char *text) |
michael@0 | 21 | { PR_SetErrorText(text_length, text); } |
michael@0 | 22 | |
michael@0 | 23 | /* rcbase.cpp */ |