Skip to content

Commit

Permalink
Bug 106386 Correct misspellings in source code
Browse files Browse the repository at this point in the history
patch by [email protected] r=timeless rs=brendan
  • Loading branch information
timeless%mozdev.org committed Nov 25, 2005
1 parent e251624 commit 9b0852a
Show file tree
Hide file tree
Showing 169 changed files with 279 additions and 279 deletions.
2 changes: 1 addition & 1 deletion accessible/src/atk/nsMaiInterfaceEditableText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ insertTextCB(AtkEditableText *aText,

NS_ConvertUTF8toUCS2 strContent(aString);

// interface changed in nsIAccessibleEditabelText.idl ???
// interface changed in nsIAccessibleEditableText.idl ???
//
// PRInt32 pos = *aPosition;
// nsresult rv = accText->InsertText(strContent, aLength, &pos);
Expand Down
4 changes: 2 additions & 2 deletions camino/src/application/AppDirServiceProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ NS_IMPL_ISUPPORTS1(AppDirServiceProvider, nsIDirectoryServiceProvider)
//*****************************************************************************

NS_IMETHODIMP
AppDirServiceProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval)
AppDirServiceProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval)
{
nsCOMPtr<nsILocalFile> localFile;
nsresult rv = NS_ERROR_FAILURE;
nsCAutoString strBuf;

*_retval = nsnull;
*persistant = PR_TRUE;
*persistent = PR_TRUE;

if (strcmp(prop, NS_APP_APPLICATION_REGISTRY_DIR) == 0)
{
Expand Down
2 changes: 1 addition & 1 deletion cck/driver/prefeditview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void CPrefEditView::DeleteTreeCtrl(HTREEITEM hParent)

CTreeCtrl &treeCtrl = GetTreeCtrl();

// Delete the prefelement ojbect we created with new.
// Delete the prefelement object we created with new.
CPrefElement* pe = (CPrefElement*)treeCtrl.GetItemData(hParent);
delete pe;

Expand Down
2 changes: 1 addition & 1 deletion content/base/public/nsIStyleSheetLinkingElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class nsIStyleSheetLinkingElement : public nsISupports {
nsICSSLoaderObserver* aObserver) = 0;

/**
* Tells this element wether to update the stylesheet when the
* Tells this element whether to update the stylesheet when the
* element's properties change.
*
* @param aEnableUpdates update on changes or not.
Expand Down
2 changes: 1 addition & 1 deletion content/xul/document/public/nsIXULDocument.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class nsIXULDocument : public nsISupports

/**
* Attach a XUL template builder to the specified content node.
* @param aBuilder the tmeplate builder to attach, or null if
* @param aBuilder the template builder to attach, or null if
* the builder is to be removed.
*/
NS_IMETHOD SetTemplateBuilderFor(nsIContent* aContent, nsIXULTemplateBuilder* aBuilder) = 0;
Expand Down
2 changes: 1 addition & 1 deletion content/xul/templates/src/nsRDFTestNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class nsRDFTestNode : public TestNode
: TestNode(aParent) {}

/**
* Determine wether the node can propagate an assertion
* Determine whether the node can propagate an assertion
* with the specified source, property, and target. If the
* assertion can be propagated, aInitialBindings will be
* initialized with appropriate variable-to-value assignments
Expand Down
2 changes: 1 addition & 1 deletion dom/public/idl/core/nsIDOM3Document.idl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozila.org Code.
* The Original Code is mozilla.org Code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
Expand Down
2 changes: 1 addition & 1 deletion dom/public/idl/core/nsIDOMDOMConfiguration.idl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozila.org Code.
* The Original Code is mozilla.org Code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
Expand Down
2 changes: 1 addition & 1 deletion editor/composer/src/nsComposerCommandsUpdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ nsComposerCommandsUpdater::NotifyDocumentCreated()
NS_IMETHODIMP
nsComposerCommandsUpdater::NotifyDocumentWillBeDestroyed()
{
// cancel any outstanding udpate timer
// cancel any outstanding update timer
if (mUpdateTimer)
{
mUpdateTimer->Cancel();
Expand Down
2 changes: 1 addition & 1 deletion editor/libeditor/base/PlaceholderTxn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ NS_IMETHODIMP PlaceholderTxn::Merge(nsITransaction *aTransaction, PRBool *aDidMe
EditTxn *editTxn = (EditTxn*)aTransaction; //XXX: hack, not safe! need nsIEditTransaction!
// determine if this incoming txn is a placeholder txn
nsCOMPtr<nsIAbsorbingTransaction> plcTxn;// = do_QueryInterface(editTxn);
// cant do_QueryInterface() above due to our broken transaction interfaces.
// can't do_QueryInterface() above due to our broken transaction interfaces.
// instead have to brute it below. ugh.
editTxn->QueryInterface(NS_GET_IID(nsIAbsorbingTransaction), getter_AddRefs(plcTxn));

Expand Down
2 changes: 1 addition & 1 deletion editor/libeditor/base/PlaceholderTxn.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class PlaceholderTxn : public EditAggregateTxn,
PRBool mAbsorb; // do we auto absorb any and all transaction?
nsWeakPtr mForwarding;
IMETextTxn *mIMETextTxn; // first IME txn in this placeholder - used for IME merging
// non-owning for now - cant nsCOMPtr it due to broken transaction interfaces
// non-owning for now - can't nsCOMPtr it due to broken transaction interfaces
PRBool mCommitted; // do we stop auto absorbing any matching placeholder txns?
// these next two members store the state of the selection in a safe way.
// selection at the start of the txn is stored, as is the selection at the end.
Expand Down
2 changes: 1 addition & 1 deletion editor/libeditor/base/nsSelectionState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

/***************************************************************************
* class for recording selection info. stores selection as collection of
* { {startnode, startoffset} , {endnode, endoffset} } tuples. Cant store
* { {startnode, startoffset} , {endnode, endoffset} } tuples. Can't store
* ranges since dom gravity will possibly change the ranges.
*/
nsSelectionState::nsSelectionState() : mArray(){}
Expand Down
2 changes: 1 addition & 1 deletion editor/libeditor/base/nsSelectionState.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class nsISelection;

/***************************************************************************
* class for recording selection info. stores selection as collection of
* { {startnode, startoffset} , {endnode, endoffset} } tuples. Cant store
* { {startnode, startoffset} , {endnode, endoffset} } tuples. Can't store
* ranges since dom gravity will possibly change the ranges.
*/

Expand Down
2 changes: 1 addition & 1 deletion editor/ui/dialogs/content/EdListProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function Startup()
gDialog.RadioGroup.collapsed = !gListElement;
if (gListElement)
{
// Radio button index is persistant
// Radio button index is persistent
if (gDialog.RadioGroup.getAttribute("index") == "1")
gDialog.RadioGroup.selectedItem = gDialog.ChangeSelectedRadio;
else
Expand Down
2 changes: 1 addition & 1 deletion embedding/browser/gtk/src/EmbedPrivate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ EmbedPrivate::Realize(PRBool *aAlreadyRealized)
// create the offscreen window if we have to
EnsureOffscreenWindow();

// Have we ever been initialized before? If so then just reparetn
// Have we ever been initialized before? If so then just reparent
// from the offscreen window.
if (mMozWindowWidget) {
gtk_widget_reparent(mMozWindowWidget, GTK_WIDGET(mOwningWidget));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ NS_IMPL_ISUPPORTS1(CAppFileLocationProvider, nsIDirectoryServiceProvider)
//*****************************************************************************

NS_IMETHODIMP
CAppFileLocationProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval)
CAppFileLocationProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval)
{
nsCOMPtr<nsILocalFile> localFile;
nsresult rv = NS_ERROR_FAILURE;

*_retval = nsnull;
*persistant = PR_TRUE;
*persistent = PR_TRUE;

if (strcmp(prop, NS_APP_APPLICATION_REGISTRY_DIR) == 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ interface nsIControllerCommandTable : nsISupports
boolean isCommandEnabled(in string aCommandName, in nsISupports aCommandRefCon);

/**
* Tell the command to udpate its state (if it is a state updating command)
* Tell the command to update its state (if it is a state updating command)
*
* @param aCommandName the name of the command to update
* @param aCommandRefCon the command context data
Expand Down
2 changes: 1 addition & 1 deletion embedding/qa/jstests/sHistory/SHListenerTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html>
<head>
<title>SessionHistory.html</title>
<!-- Descrpt: test Sesion History interfaces
<!-- Descrpt: test Session History interfaces
Author: [email protected]
Revs: 06.27.01 - Created
Expand Down
4 changes: 2 additions & 2 deletions embedding/qa/testembed/winEmbedFileLocProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ NS_IMPL_ISUPPORTS1(winEmbedFileLocProvider, nsIDirectoryServiceProvider)
//*****************************************************************************

NS_IMETHODIMP
winEmbedFileLocProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval)
winEmbedFileLocProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval)
{
nsCOMPtr<nsILocalFile> localFile;
nsresult rv = NS_ERROR_FAILURE;

*_retval = nsnull;
*persistant = PR_TRUE;
*persistent = PR_TRUE;

if (nsCRT::strcmp(prop, NS_APP_APPLICATION_REGISTRY_DIR) == 0)
{
Expand Down
4 changes: 2 additions & 2 deletions embedding/tests/mfcembed/winEmbedFileLocProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ NS_IMPL_ISUPPORTS1(winEmbedFileLocProvider, nsIDirectoryServiceProvider)
//*****************************************************************************

NS_IMETHODIMP
winEmbedFileLocProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval)
winEmbedFileLocProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval)
{
nsCOMPtr<nsILocalFile> localFile;
nsresult rv = NS_ERROR_FAILURE;

*_retval = nsnull;
*persistant = PR_TRUE;
*persistent = PR_TRUE;

if (strcmp(prop, NS_APP_APPLICATION_REGISTRY_DIR) == 0)
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/cview/resources/content/cview-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function Clone (obj)

/*
* matches a real object against one or more pattern objects.
* if you pass an array of pattern objects, |negate| controls wether to check
* if you pass an array of pattern objects, |negate| controls whether to check
* if the object matches ANY of the patterns, or NONE of the patterns.
*/
function matchObject (o, pattern, negate)
Expand Down
6 changes: 3 additions & 3 deletions extensions/irc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ irc.js:
- changes to work with new socket interface.
- correct isOp detection in setTopic
- remove checks for undefined exceptions
- route data-available immediatley. inserting a data-available event to be routed later caused disconnect events to be recieved out of order.
- route data-available immediately. inserting a data-available event to be routed later caused disconnect events to be received out of order.

utils.js:
- fix HAS_XPCOM test (XPCDOM broke it.)
Expand Down Expand Up @@ -253,7 +253,7 @@ irc.js:
- add try/catch around server creation, to be safe.
- spew info event when moving on to the next connection attempt. (bug 22890 and 66040)
- modify CIRCServer connection to check for a dupe server in it's parent.servers collection, re-init/return that object if it exists, otherwise make a new one.
- try to reconnect if the connection was broken before we got a 001 message from the server, regardless of wether ot not the parent IRCNetwork has it's "stayingPower" flag set.
- try to reconnect if the connection was broken before we got a 001 message from the server, regardless of whether ot not the parent IRCNetwork has it's "stayingPower" flag set.
- forward the disconnect event from the server to the network, to keep the network properly informed.
- if an unknown message arrives at the server, send it to the server's onUnknown handler if it exists. If the server has no onUnknown handler, send it to the parent network's handler for that type of message, if it has one. If the parent network has no handler for this message, send it to the network's onUnknown handler as a last ditch. (the event code will fail silently if the network has no onUnknown handler.)
- when we get an 001, reset connection attempt cound, and record the successful connection.
Expand Down Expand Up @@ -332,7 +332,7 @@ handlers.js:
- use the new arraySpeak() and formatDateOffset() functions when printing WHOIS information.
- print error message when a network gets disconnected. (bug 42905)
- show nick change information on the network if it is the current view.
- display "end of NAMES" message if the channel's pendingNamesReply flag is set, then clear pendingNamesReply. channel.pendingNamesReply is set by the /names command (and cleared in on366) to control wether or not NAMES information (353 and 366 messages) should actually be displayed. (the irc library will request this information when a new channels is joined, and we don't want to display it in that case.) (bug 40959)
- display "end of NAMES" message if the channel's pendingNamesReply flag is set, then clear pendingNamesReply. channel.pendingNamesReply is set by the /names command (and cleared in on366) to control whether or not NAMES information (353 and 366 messages) should actually be displayed. (the irc library will request this information when a new channels is joined, and we don't want to display it in that case.) (bug 40959)
- print topic information on a 332.
- print topic setter information on a 333.
- print NAMES information on 353 if the channel's pendingNamesReply flag is set. (bug 40959)
Expand Down
2 changes: 1 addition & 1 deletion extensions/irc/js/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ function Copy(source, dest, overwrite)

/*
* matches a real object against one or more pattern objects.
* if you pass an array of pattern objects, |negate| controls wether to check
* if you pass an array of pattern objects, |negate| controls whether to check
* if the object matches ANY of the patterns, or NONE of the patterns.
*/
function matchObject (o, pattern, negate)
Expand Down
2 changes: 1 addition & 1 deletion extensions/irc/js/tests/DP.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ function CWordPivot (word)
dpprint ("* new pivot : '" + word + "'");
this.word = word;
this.nextList = new CPhraseLinkList(word, "next");
this.previousList = new CPhraseLinkList(word, "prevoius");
this.previousList = new CPhraseLinkList(word, "previous");

}

Expand Down
6 changes: 3 additions & 3 deletions extensions/irc/js/tests/ircbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function go()
}

/*
* If you didnt compile libjs with JS_HAS_ERROR_EXCEPTIONS, any error the
* If you didn't compile libjs with JS_HAS_ERROR_EXCEPTIONS, any error the
* bot encounters will exit the mainloop and drop you back to a shell ("js>")
* prompt. You can continue the mainloop by executing this function.
*/
Expand Down Expand Up @@ -286,7 +286,7 @@ function bot_eval(e, script)
*/

/*
* What to do when a privmsg is recieved on a channel
* What to do when a privmsg is received on a channel
*/
function my_chan_privmsg (e)
{
Expand Down Expand Up @@ -366,7 +366,7 @@ function my_433 (e)
}

/*
* What to do when raw data is recieved on a dcc chat connection
* What to do when raw data is received on a dcc chat connection
*/
function my_dccchat_rawdata (e)
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/irc/xul/content/readprefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
* |
* | The following beep prefs can be set to the text "beep" to use the
* | system beep, or "" to disable the beep.
* +- msgBeep (String) url to sound to play when a /msg is recieved
* +- msgBeep (String) url to sound to play when a /msg is received
* +- stalkBeep (String) url to sound to play when a /stalk matches
* +- queryBeep (String) url to sound to play for new msgs in a /query
* |
Expand Down
2 changes: 1 addition & 1 deletion extensions/python/xpcom/src/PyGBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ PyG_Base::AutoWrapPythonInstance(PyObject *ob, const nsIID &iid, nsISupports **p
// Check we _now_ have a default gateway
{
nsISupports *temp = NULL;
NS_ABORT_IF_FALSE(CheckDefaultGateway(ob, iid, &temp), "Auto-wrapped object didnt get a default gateway!");
NS_ABORT_IF_FALSE(CheckDefaultGateway(ob, iid, &temp), "Auto-wrapped object didn't get a default gateway!");
if (temp) temp->Release();
}
#endif
Expand Down
20 changes: 10 additions & 10 deletions extensions/python/xpcom/src/VariantUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ PRBool FillSingleArray(void *array_ptr, PyObject *sequence_ob, PRUint32 sequence
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");
FILL_SIMPLE_POINTER( char, *PyString_AS_STRING(val_use) );
break;

Expand Down Expand Up @@ -381,7 +381,7 @@ PRBool FillSingleArray(void *array_ptr, PyObject *sequence_ob, PRUint32 sequence
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");

const char *sz = PyString_AS_STRING(val_use);
int nch = PyString_GET_SIZE(val_use);
Expand Down Expand Up @@ -1179,7 +1179,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::FillInVariant(const PythonTypeDescriptor
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");
if (PyString_GET_SIZE(val_use) != 1) {
PyErr_SetString(PyExc_ValueError, "Must specify a one character string for a character");
BREAK_FALSE;
Expand Down Expand Up @@ -1301,7 +1301,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::FillInVariant(const PythonTypeDescriptor
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");

cb_this_buffer_pointer = PyString_GET_SIZE(val_use)+1;
MAKE_VALUE_BUFFER(cb_this_buffer_pointer);
Expand Down Expand Up @@ -1385,7 +1385,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::FillInVariant(const PythonTypeDescriptor
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");

cb_this_buffer_pointer = PyString_GET_SIZE(val_use);
MAKE_VALUE_BUFFER(cb_this_buffer_pointer);
Expand Down Expand Up @@ -1453,7 +1453,7 @@ PRBool PyXPCOM_InterfaceVariantHelper::FillInVariant(const PythonTypeDescriptor
rc = PR_FALSE;
break;
}
Py_DECREF(val); // Cant be NULL!
Py_DECREF(val); // Can't be NULL!
Py_XDECREF(val_use);
}
return rc && !PyErr_Occurred();
Expand Down Expand Up @@ -2214,7 +2214,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");
FILL_SIMPLE_POINTER( char, *PyString_AS_STRING(val_use) );
break;

Expand Down Expand Up @@ -2288,7 +2288,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index
BREAK_FALSE;
}
val_use = PyObject_Str(val);
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");
const char *sz = PyString_AS_STRING(val_use);
ws->Assign(sz, PyString_Size(val_use));
}
Expand Down Expand Up @@ -2332,7 +2332,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");

const char *sz = PyString_AS_STRING(val_use);
int nch = PyString_GET_SIZE(val_use);
Expand Down Expand Up @@ -2422,7 +2422,7 @@ nsresult PyXPCOM_GatewayVariantHelper::BackFillVariant( PyObject *val, int index
if ((val_use = PyObject_Str(val))==NULL)
BREAK_FALSE;
// Sanity check should PyObject_Str() ever loosen its semantics wrt Unicode!
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didnt return a string object!");
NS_ABORT_IF_FALSE(PyString_Check(val_use), "PyObject_Str didn't return a string object!");

sz = PyString_AS_STRING(val_use);
nch = PyString_GET_SIZE(val_use);
Expand Down
Loading

0 comments on commit 9b0852a

Please sign in to comment.