Remove jsobj.h from installed headers, bug 690943. r=luke

This commit is contained in:
Brian Hackett
2011-10-04 07:06:54 -07:00
parent 663ba372bd
commit 0ec9245d43
106 changed files with 1435 additions and 1202 deletions

View File

@@ -313,10 +313,8 @@ Snapshot(JSContext *cx, JSObject *obj, uintN flags, AutoIdVector *props)
return true;
}
namespace js {
bool
VectorToIdArray(JSContext *cx, AutoIdVector &props, JSIdArray **idap)
js::VectorToIdArray(JSContext *cx, AutoIdVector &props, JSIdArray **idap)
{
JS_STATIC_ASSERT(sizeof(JSIdArray) > sizeof(jsid));
size_t len = props.length();
@@ -333,13 +331,11 @@ VectorToIdArray(JSContext *cx, AutoIdVector &props, JSIdArray **idap)
}
JS_FRIEND_API(bool)
GetPropertyNames(JSContext *cx, JSObject *obj, uintN flags, AutoIdVector *props)
js::GetPropertyNames(JSContext *cx, JSObject *obj, uintN flags, AutoIdVector *props)
{
return Snapshot(cx, obj, flags & (JSITER_OWNONLY | JSITER_HIDDEN), props);
}
}
size_t sCustomIteratorCount = 0;
static inline bool