Skip to content

Commit e8363f4

Browse files
committed
fixed error with file to image definitions
1 parent e2fe010 commit e8363f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ Example: the \"blue\" byte will be the least significant byte inside the integer
274274

275275
def mlx_put_image_to_window(mlx_ptr: int, win_ptr: int, img_ptr: int, x: int, y: int) -> int:
276276

277-
def mlx_xpm_file_to_image(mlx_ptr: int, filename: str, width: int, height: int) -> int: # void *
277+
def mlx_xpm_file_to_image(mlx_ptr: int, filename: str) -> int: # void *
278278

279-
def mlx_png_file_to_image(mlx_ptr: int, filename: str, width: int, height: int) -> int: # void *
279+
def mlx_png_file_to_image(mlx_ptr: int, filename: str) -> int: # void *
280280

281281
def mlx_destroy_image(mlx_ptr: int, img_ptr: int) -> int:
282282
```

0 commit comments

Comments
 (0)