fpclassify fix
EntityManager: rename getExtant -> GetExtantAsHandles, fix its
implementation+call site to avoid dynamic alloc/auto ptr, rename extant
-> IsExtant
vsnprintf2 -> sys_vsnprintf. remove printf.h (function is declared in
sysdep header)
use SUS/posix-ish strcasecmp instead of defining that to the
windows-only stricmp
add cppdoc for ia32/cpu

This was SVN commit r5011.
This commit is contained in:
janwas
2007-04-30 19:58:04 +00:00
parent 22ede31161
commit 5a427440d0
35 changed files with 215 additions and 129 deletions
+4 -4
View File
@@ -1508,11 +1508,11 @@ JSFunctionSpec ScriptFunctionTable[] =
JSBool GetEntitySet( JSContext* UNUSED(cx), JSObject* UNUSED(obj), jsval UNUSED(argv), jsval* vp )
{
std::auto_ptr<std::vector<HEntity> > extant (g_EntityManager.getExtant());
std::vector<HEntity> extant;
g_EntityManager.GetExtantAsHandles(extant);
*vp = OBJECT_TO_JSVAL(EntityCollection::Create(extant));
*vp = OBJECT_TO_JSVAL( EntityCollection::Create( *extant ) );
return( JS_TRUE );
return JS_TRUE;
}