structure.h
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   structure.h                                        :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <gychoi@student.42seoul.kr>         +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2023/05/11 21:44:40 by gychoi            #+#    #+#             */
 9  /*   Updated: 2023/05/16 17:37:48 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #ifndef STRUCTURE_H
14  # define STRUCTURE_H
15  
16  typedef struct s_image
17  {
18  	void	*img;
19  	char	*addr;
20  	int		bpp;
21  	int		length;
22  	int		endian;
23  }	t_image;
24  
25  typedef struct s_vars
26  {
27  	void	*mlx;
28  	void	*win;
29  }	t_vars;
30  
31  #endif