mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
dos2unix
This commit is contained in:
parent
b531ece1b4
commit
d5418c8ff4
@ -1,9 +1,9 @@
|
||||
//
|
||||
// Config.Cygwin.pp
|
||||
//
|
||||
// This file defines some custom config variables for the Windows
|
||||
// platform, when ppremake has been compiled using Cygwin. It
|
||||
// inherits most of its parameters from Config.Win32.pp.
|
||||
//
|
||||
|
||||
#include $[THISDIRPREFIX]Config.Win32.pp
|
||||
//
|
||||
// Config.Cygwin.pp
|
||||
//
|
||||
// This file defines some custom config variables for the Windows
|
||||
// platform, when ppremake has been compiled using Cygwin. It
|
||||
// inherits most of its parameters from Config.Win32.pp.
|
||||
//
|
||||
|
||||
#include $[THISDIRPREFIX]Config.Win32.pp
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,52 +1,52 @@
|
||||
// Filename: allocator
|
||||
// Created by: drose (12May00)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// PANDA 3D SOFTWARE
|
||||
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
||||
//
|
||||
// All use of this software is subject to the terms of the Panda 3d
|
||||
// Software license. You should have received a copy of this license
|
||||
// along with this source code; you will also find a current copy of
|
||||
// the license at http://www.panda3d.org/license.txt .
|
||||
//
|
||||
// To contact the maintainers of this program write to
|
||||
// panda3d@yahoogroups.com .
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file, and all the other files in this directory, aren't
|
||||
// intended to be compiled--they're just parsed by CPPParser (and
|
||||
// interrogate) in lieu of the actual system headers, to generate the
|
||||
// interrogate database.
|
||||
|
||||
#ifndef ALLOCATOR_H
|
||||
#define ALLOCATOR_H
|
||||
|
||||
#include <stdtypedefs.h>
|
||||
|
||||
#ifdef GCC_STYLE_ALLOCATOR
|
||||
|
||||
class alloc {
|
||||
public:
|
||||
static void *allocate(size_t n);
|
||||
static void deallocate(void *p, size_t n);
|
||||
};
|
||||
|
||||
#else // GCC_STYLE_ALLOCATOR
|
||||
|
||||
template<class Type>
|
||||
class allocator {
|
||||
public:
|
||||
typedef Type *pointer;
|
||||
typedef const Type *const_pointer;
|
||||
typedef size_t size_type;
|
||||
|
||||
INLINE pointer allocate(size_type n, allocator<void>::const_pointer hint = 0);
|
||||
INLINE void deallocate(pointer p, size_type n);
|
||||
};
|
||||
|
||||
#endif // GCC_STYLE_ALLOCATOR
|
||||
|
||||
#endif
|
||||
// Filename: allocator
|
||||
// Created by: drose (12May00)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// PANDA 3D SOFTWARE
|
||||
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
||||
//
|
||||
// All use of this software is subject to the terms of the Panda 3d
|
||||
// Software license. You should have received a copy of this license
|
||||
// along with this source code; you will also find a current copy of
|
||||
// the license at http://www.panda3d.org/license.txt .
|
||||
//
|
||||
// To contact the maintainers of this program write to
|
||||
// panda3d@yahoogroups.com .
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file, and all the other files in this directory, aren't
|
||||
// intended to be compiled--they're just parsed by CPPParser (and
|
||||
// interrogate) in lieu of the actual system headers, to generate the
|
||||
// interrogate database.
|
||||
|
||||
#ifndef ALLOCATOR_H
|
||||
#define ALLOCATOR_H
|
||||
|
||||
#include <stdtypedefs.h>
|
||||
|
||||
#ifdef GCC_STYLE_ALLOCATOR
|
||||
|
||||
class alloc {
|
||||
public:
|
||||
static void *allocate(size_t n);
|
||||
static void deallocate(void *p, size_t n);
|
||||
};
|
||||
|
||||
#else // GCC_STYLE_ALLOCATOR
|
||||
|
||||
template<class Type>
|
||||
class allocator {
|
||||
public:
|
||||
typedef Type *pointer;
|
||||
typedef const Type *const_pointer;
|
||||
typedef size_t size_type;
|
||||
|
||||
INLINE pointer allocate(size_type n, allocator<void>::const_pointer hint = 0);
|
||||
INLINE void deallocate(pointer p, size_type n);
|
||||
};
|
||||
|
||||
#endif // GCC_STYLE_ALLOCATOR
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user