def pointer_add(builder, ptr, offset, return_type=None):
 intptr = builder.ptrtoint(ptr, intp_t)
 if isinstance(offset, utils.INT_TYPES):
  offset = intp_t(offset)
 intptr = builder.add(intptr, offset)
 return builder.inttoptr(intptr, (return_type or ptr.type))

def pointer_add ( builder , ptr , offset , return_type = None ) : intptr = builder . ptrtoint ( ptr , intp_t ) if isinstance ( offset , utils . INT_TYPES ) : offset = intp_t ( offset ) intptr = builder . add ( intptr , offset ) return builder . inttoptr ( intptr , ( return_type or ptr . type ) )
add an integral *offset* to pointer *ptr* .