1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Remove all references to sqlite3_intptr_t. (CVS 5051)

FossilOrigin-Name: 6a94d19747a05df2694d3720f76de3dab3836578
This commit is contained in:
drh
2008-04-27 18:40:11 +00:00
parent 59020f32cd
commit 7209c697a1
10 changed files with 35 additions and 57 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.695 2008/04/24 19:15:10 shane Exp $
** @(#) $Id: sqliteInt.h,v 1.696 2008/04/27 18:40:12 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -35,28 +35,6 @@
/* Needed for various definitions... */
#define _GNU_SOURCE
/*
** Include standard header files as necessary
*/
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
/*
** If possible, use the C99 intptr_t type to define an integral type of
** equivalent size to a pointer. (Technically it's >= sizeof(void *), but
** practically it's == sizeof(void *)). We fall back to an int if this type
** isn't defined.
*/
#ifdef HAVE_INTPTR_T
typedef intptr_t sqlite3_intptr_t;
#else
typedef int sqlite3_intptr_t;
#endif
/*
** A macro used to aid in coverage testing. When doing coverage
** testing, the condition inside the argument must be evaluated