python-on-a-chip online compiler
seq.h File Reference
Sequence Header. More...
Go to the source code of this file.
Data Structures | |
struct | PmSeqIter_s |
Sequence Iterator Object. More... | |
Typedefs | |
typedef struct PmSeqIter_s | PmSeqIter_t |
Sequence Iterator Object. | |
Functions | |
int8_t | seq_compare (pPmObj_t pobj1, pPmObj_t pobj2) |
Compares two sequences for equality. | |
PmReturn_t | seq_getLength (pPmObj_t pobj, uint16_t *r_index) |
Returns the length of the sequence. | |
PmReturn_t | seq_getSubscript (pPmObj_t pobj, int16_t index, pPmObj_t *r_pobj) |
Returns the object from sequence[index]. | |
PmReturn_t | seqiter_getNext (pPmObj_t pobj, pPmObj_t *r_pitem) |
Returns the next item from the sequence iterator object. | |
PmReturn_t | seqiter_new (pPmObj_t pobj, pPmObj_t *r_pobj) |
Returns a new sequence iterator object. |
Detailed Description
Sequence Header.
Definition in file seq.h.
Typedef Documentation
typedef struct PmSeqIter_s PmSeqIter_t |
Sequence Iterator Object.
Instances of this object are created by GET_ITER and used by FOR_ITER. Stores a pointer to a sequence and an index int16_t.
Function Documentation
PmReturn_t seq_getLength | ( | pPmObj_t | pobj, |
uint16_t * | r_index | ||
) |
PmReturn_t seq_getSubscript | ( | pPmObj_t | pobj, |
int16_t | index, | ||
pPmObj_t * | r_pobj | ||
) |
PmReturn_t seqiter_getNext | ( | pPmObj_t | pobj, |
pPmObj_t * | r_pitem | ||
) |
PmReturn_t seqiter_new | ( | pPmObj_t | pobj, |
pPmObj_t * | r_pobj | ||
) |
Generated on Tue Jul 12 2022 23:13:47 by 1.7.2