ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/utils.C
(Generate patch)

Comparing deliantra/server/common/utils.C (file contents):
Revision 1.13 by root, Tue Sep 12 21:10:31 2006 UTC vs.
Revision 1.15 by root, Thu Sep 14 22:34:00 2006 UTC

16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21 The authors can be reached via e-mail at crossfire-devel@real-time.com 21 The authors can be reached via e-mail at <crossfire@schmorp.de>
22*/ 22*/
23 23
24/* 24/*
25 * General convenience functions for crossfire. 25 * General convenience functions for crossfire.
26 */ 26 */
543 strcpy (input, tmp); 543 strcpy (input, tmp);
544 544
545 return; 545 return;
546} 546}
547 547
548/////////////////////////////////////////////////////////////////////////////
549
548void *alloc (int s) throw (std::bad_alloc) 550void *alloc (int s) throw (std::bad_alloc)
549{ 551{
550 void *p = g_slice_alloc (s); 552 void *p = g_slice_alloc (s);
551 553
552 if (!p) 554 if (!p)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines