Skip to content

Commit d18e9db

Browse files
committed
Update global symbol lookup description with an explicit mention of how to declare anonymous namespaces.
1 parent c050490 commit d18e9db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/dbgobject/core/dbgobject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Loader.OnLoad(function() {
122122
{name:"moduleName", type:"string", description:"The name of the module containing the symbol."},
123123
{name:"symbol", type:"string", description:"The global symbol to lookup."},
124124
{name: "typeName", type:"string", description: "(optional) The type name of the symbol to look up."},
125-
{name: "scopes", type:"array of strings", description: "(optional) Array of scopes of the symbol to look up (namespace, outer class, etc.). Order: [outermost scope, ..., innermost scope]."}
125+
{name: "scopes", type:"array of strings", description: "(optional) Array of scopes of the symbol to look up (namespace, outer class, etc.). Order: [outermost scope, ..., innermost scope]. An anonymous namespace should be declared as \"anonymous namespace\"."}
126126
]
127127
}
128128
DbgObject.global = function(moduleName, symbol, typeName, scopes) {

extensions/jsdbg/core/jsdbg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ Loader.OnLoad(function () {
446446
{name:"module", type:"string", description:"The module containing the symbol."},
447447
{name:"symbol", type:"string", description:"The symbol to evaluate."},
448448
{name:"typeName", type:"string", description: "The type name of the symbol to look up."},
449-
{name: "scopes", type:"array of strings", description: "(optional) Array of scopes of the symbol to look up (namespace, outer class, etc.). Order: [outermost scope, ..., innermost scope]."},
449+
{name: "scopes", type:"array of strings", description: "Array of scopes of the symbol to look up (namespace, outer class, etc.). Order: [outermost scope, ..., innermost scope]. An anonymous namespace should be declared as \"anonymous namespace\"."},
450450
{name:"callback", type:"function(object)", description:"A callback that is called when the operation succeeds or fails."}
451451
]
452452
},

0 commit comments

Comments
 (0)