summaryrefslogtreecommitdiff
path: root/data/coverity/model.c
blob: f32daa39af561ad67798cff02305fe7f04670849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Coverity Model - not a real source file.
 *
 * See https://scan.coverity.com/tune
 * See https://scan.coverity.com/models
 *
 * Coverity doesn't detect changes to this file, update manually at:
 *
 * https://scan.coverity.com/projects/enlightenment-foundation-libraries?tab=analysis_settings
 */

typedef struct {
   int fd;
} Eo;

/* force Coverity to understand these take ownership of fd */

void efl_loop_fd_set(Eo *obj, int fd)
{
   obj->fd = fd;
}

void efl_loop_fd_file_set(Eo *obj, int fd)
{
   obj->fd = fd;
}