17db96d56Sopenharmony_ci/* row.h - an enhanced tuple for database rows
27db96d56Sopenharmony_ci *
37db96d56Sopenharmony_ci * Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
47db96d56Sopenharmony_ci *
57db96d56Sopenharmony_ci * This file is part of pysqlite.
67db96d56Sopenharmony_ci *
77db96d56Sopenharmony_ci * This software is provided 'as-is', without any express or implied
87db96d56Sopenharmony_ci * warranty.  In no event will the authors be held liable for any damages
97db96d56Sopenharmony_ci * arising from the use of this software.
107db96d56Sopenharmony_ci *
117db96d56Sopenharmony_ci * Permission is granted to anyone to use this software for any purpose,
127db96d56Sopenharmony_ci * including commercial applications, and to alter it and redistribute it
137db96d56Sopenharmony_ci * freely, subject to the following restrictions:
147db96d56Sopenharmony_ci *
157db96d56Sopenharmony_ci * 1. The origin of this software must not be misrepresented; you must not
167db96d56Sopenharmony_ci *    claim that you wrote the original software. If you use this software
177db96d56Sopenharmony_ci *    in a product, an acknowledgment in the product documentation would be
187db96d56Sopenharmony_ci *    appreciated but is not required.
197db96d56Sopenharmony_ci * 2. Altered source versions must be plainly marked as such, and must not be
207db96d56Sopenharmony_ci *    misrepresented as being the original software.
217db96d56Sopenharmony_ci * 3. This notice may not be removed or altered from any source distribution.
227db96d56Sopenharmony_ci */
237db96d56Sopenharmony_ci
247db96d56Sopenharmony_ci#ifndef PYSQLITE_ROW_H
257db96d56Sopenharmony_ci#define PYSQLITE_ROW_H
267db96d56Sopenharmony_ci#define PY_SSIZE_T_CLEAN
277db96d56Sopenharmony_ci#include "Python.h"
287db96d56Sopenharmony_ci
297db96d56Sopenharmony_citypedef struct _Row
307db96d56Sopenharmony_ci{
317db96d56Sopenharmony_ci    PyObject_HEAD
327db96d56Sopenharmony_ci    PyObject* data;
337db96d56Sopenharmony_ci    PyObject* description;
347db96d56Sopenharmony_ci} pysqlite_Row;
357db96d56Sopenharmony_ci
367db96d56Sopenharmony_ciint pysqlite_row_setup_types(PyObject *module);
377db96d56Sopenharmony_ci
387db96d56Sopenharmony_ci#endif
39