URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [language/] [cxx/] [ustl/] [current/] [src/] [unew.cpp] - Rev 851
Go to most recent revision | Compare with Previous | Blame | View Log
// This file is part of the uSTL library, an STL implementation. // // Copyright (c) 2005-2009 by Mike Sharov <msharov@users.sourceforge.net> // This file is free software, distributed under the MIT License. #include "unew.h" void* tmalloc (size_t n) throw (ustl::bad_alloc) { void* p = malloc (n); if (!p) USTL_THROW(ustl::bad_alloc (n)); return (p); }
Go to most recent revision | Compare with Previous | Blame | View Log