MLX42
1.0
MLX42
Loading...
Searching...
No Matches
mlx_compare.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* :::::::: */
4
/* mlx_comparison.c :+: :+: */
5
/* +:+ */
6
/* By: jvan-hal <jvan-hal@student.codam.nl> +#+ */
7
/* +#+ */
8
/* Created: 2023/01/31 17:20:19 by jvan-hal #+# #+# */
9
/* Updated: 2023/01/31 17:23:49 by jvan-hal ######## odam.nl */
10
/* */
11
/* ************************************************************************** */
12
13
#include "
MLX42/MLX42_Int.h
"
14
15
//= Private =//
16
17
bool
mlx_equal_image
(
void
*
lstcontent
,
void
*
value
)
18
{
19
const
mlx_image_t
*
lcontent
=
lstcontent
;
20
const
mlx_image_t
*
lvalue
=
value
;
21
22
return
(
lcontent
==
lvalue
);
23
}
24
25
bool
mlx_equal_inst
(
void
*
lstcontent
,
void
*
value
)
26
{
27
const
draw_queue_t
*
lcontent
=
lstcontent
;
28
const
mlx_image_t
*
lvalue
=
value
;
29
30
return
(
lcontent
->image ==
lvalue
);
31
}
MLX42_Int.h
value
GLfloat value
Definition
glad.h:2667
length
GLuint GLsizei GLsizei * length
Definition
glad.h:3372
mlx_equal_image
bool mlx_equal_image(void *lstcontent, void *value)
Definition
mlx_compare.c:17
mlx_equal_inst
bool mlx_equal_inst(void *lstcontent, void *value)
Definition
mlx_compare.c:25
draw_queue
Definition
MLX42_Int.h:200
mlx_image
Definition
MLX42.h:341
lib
MLX42
src
utils
mlx_compare.c
Generated by
1.9.8