Liking cljdoc? Tell your friends :D

libpython-clj.jna.concrete.tuple


PyTuple_Checkclj

(PyTuple_Check p)

Return true if p is a tuple object or an instance of a subtype of the tuple type.

Return true if p is a tuple object or an instance of a subtype of the tuple type.
raw docstring

PyTuple_GetItemclj

(PyTuple_GetItem p pos)

Return value: Borrowed reference.

Return the object at position pos in the tuple pointed to by p. If pos is out of bounds, return NULL and sets an IndexError exception.

Return value: Borrowed reference.

Return the object at position pos in the tuple pointed to by p. If pos is out of
bounds, return NULL and sets an IndexError exception.
raw docstring

PyTuple_GetSliceclj

(PyTuple_GetSlice p low high)

Return value: New reference.

Take a slice of the tuple pointed to by p from low to high and return it as a new tuple.

Return value: New reference.

Take a slice of the tuple pointed to by p from low to high and return it as a new
tuple.
raw docstring

PyTuple_Newclj

(PyTuple_New len)

Return value: New reference.

Return a new tuple object of size len, or NULL on failure.

Return value: New reference.

Return a new tuple object of size len, or NULL on failure.
raw docstring

PyTuple_SetItemclj

(PyTuple_SetItem p pos o)

Insert a reference to object o at position pos of the tuple pointed to by p. Return 0 on success.

Note

This function “steals” a reference to o

Insert a reference to object o at position pos of the tuple pointed to by p. Return 0
on success.

 Note

 This function “steals” a reference to o
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close