Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/python2....
File: bitset.h
[0] Fix | Delete
#ifndef Py_BITSET_H
[1] Fix | Delete
#define Py_BITSET_H
[2] Fix | Delete
#ifdef __cplusplus
[3] Fix | Delete
extern "C" {
[4] Fix | Delete
#endif
[5] Fix | Delete
[6] Fix | Delete
/* Bitset interface */
[7] Fix | Delete
[8] Fix | Delete
#define BYTE char
[9] Fix | Delete
[10] Fix | Delete
typedef BYTE *bitset;
[11] Fix | Delete
[12] Fix | Delete
bitset newbitset(int nbits);
[13] Fix | Delete
void delbitset(bitset bs);
[14] Fix | Delete
#define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)
[15] Fix | Delete
int addbit(bitset bs, int ibit); /* Returns 0 if already set */
[16] Fix | Delete
int samebitset(bitset bs1, bitset bs2, int nbits);
[17] Fix | Delete
void mergebitset(bitset bs1, bitset bs2, int nbits);
[18] Fix | Delete
[19] Fix | Delete
#define BITSPERBYTE (8*sizeof(BYTE))
[20] Fix | Delete
#define NBYTES(nbits) (((nbits) + BITSPERBYTE - 1) / BITSPERBYTE)
[21] Fix | Delete
[22] Fix | Delete
#define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE)
[23] Fix | Delete
#define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE)
[24] Fix | Delete
#define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit))
[25] Fix | Delete
#define BYTE2BIT(ibyte) ((ibyte) * BITSPERBYTE)
[26] Fix | Delete
[27] Fix | Delete
#ifdef __cplusplus
[28] Fix | Delete
}
[29] Fix | Delete
#endif
[30] Fix | Delete
#endif /* !Py_BITSET_H */
[31] Fix | Delete
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function