Retrieves the update hints set using set_update_hint
a buffer object
the BufferUpdateHint currently used by the buffer