mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
8 lines
245 B
Plaintext
8 lines
245 B
Plaintext
(system-include "SDL2/SDL_image.h")
|
|
(add-lib "-lSDL2_image")
|
|
|
|
(defmodule IMG
|
|
(register load-texture (Fn [(Ptr SDL_Renderer) (Ptr Char)] (Ptr SDL_Texture)) "IMG_LoadTexture")
|
|
(register load (Fn [(Ptr Char)] (Ptr SDL_Surface)) "IMG_Load")
|
|
)
|