/usr/include/sary/i.h is in libsary-dev 1:1.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef __SARY_I_H__
#define __SARY_I_H__
#include <glib.h>
#include <sary/text.h>
#include <sary/saryconfig.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*
* Convert an index pointer to a text_position.
* (SaryInt*)index_ptr is a offset from the beginning of
* file of a text.
*/
#define sary_i_text(text, index_ptr) sary_text_get_bof((text)) + \
GINT_FROM_BE(*(SaryInt *)(index_ptr))
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __SARY_I_H__ */
|