historical/toontown-classic.git/panda/include/parser-inc/stddef.h

28 lines
707 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file stddef.h
* @author drose
* @date 2002-09-26
*/
// 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 STDDEF_H
#define STDDEF_H
#include <stdtypedefs.h>
#define offsetof(type,member) ((size_t) &(((type*)0)->member))
#endif