head	1.2;
access;
symbols;
locks
	amk:1.2; strict;
comment	@# @;


1.2
date	96.06.26.16.55.45;	author amk;	state Exp;
branches;
next	1.1;

1.1
date	96.06.20.21.31.23;	author amk;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Revised version with SSLeay fixes.
@
text
@staticforward int $abbrev$_length($abbrev$Object *self);
staticforward PyObject * $abbrev$_concat($abbrev$Object *self, PyObject *bb);
staticforward PyObject * $abbrev$_repeat($abbrev$Object *self, int n);
staticforward PyObject * $abbrev$_item($abbrev$Object *self, int i);
staticforward PyObject * $abbrev$_slice($abbrev$Object *self, int ilow, int ihigh);
staticforward int $abbrev$_ass_item($abbrev$Object *self, int i, PyObject *v);
staticforward int $abbrev$_ass_slice(PyListObject *self, int ilow, int ihigh, PyObject *v);

#ifndef $abbrev$_length_impl
staticforward int $abbrev$_length_($abbrev$Object *self);
#endif
#ifndef $abbrev$_concat_impl
staticforward PyObject * $abbrev$_concat_($abbrev$Object *self, PyObject *bb);
#endif
#ifndef $abbrev$_repeat_impl
staticforward PyObject * $abbrev$_repeat_($abbrev$Object *self, int n);
#endif
#ifndef $abbrev$_item_impl
staticforward PyObject * $abbrev$_item_($abbrev$Object *self, int i);
#endif
#ifndef $abbrev$_slice_impl
staticforward PyObject * $abbrev$_slice_($abbrev$Object *self, int ilow, int ihigh);
#endif
#ifndef $abbrev$_ass_item_impl
staticforward int $abbrev$_ass_item_($abbrev$Object *self, int i, PyObject *v);
#endif
#ifndef $abbrev$_ass_slice_impl
staticforward int $abbrev$_ass_slice_(PyListObject *self, int ilow, int ihigh, PyObject *v);
#endif

static PySequenceMethods $abbrev$_as_sequence = {
	(inquiry)$abbrev$_length,		/*sq_length*/
	(binaryfunc)$abbrev$_concat,		/*sq_concat*/
	(intargfunc)$abbrev$_repeat,		/*sq_repeat*/
	(intargfunc)$abbrev$_item,		/*sq_item*/
	(intintargfunc)$abbrev$_slice,		/*sq_slice*/
	(intobjargproc)$abbrev$_ass_item,	/*sq_ass_item*/
	(intintobjargproc)$abbrev$_ass_slice,	/*sq_ass_slice*/
};

/* -------------------------------------------------------------- */
@


1.1
log
@Initial revision
@
text
@d31 1
a31 1
static sequence_methods $abbrev$_as_sequence = {
@
