mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
Todos.
This commit is contained in:
parent
636b691912
commit
6e113702ad
@ -1,6 +1,11 @@
|
||||
(system-include "SDL2/SDL_image.h")
|
||||
(add-lib "-lSDL2_image")
|
||||
|
||||
;; Windows
|
||||
;; (system-include "SDL_image.h")
|
||||
;; (add-cflag "-I.\\vendor\\SDL2_image-2.0.4\\include")
|
||||
;; (add-lib ".\\vendor\\SDL2_image-2.0.4\\lib\\x64\\SDL2_image.lib")
|
||||
|
||||
(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")
|
||||
|
@ -6,6 +6,8 @@
|
||||
* Unsorted Todo:s
|
||||
** Defining a sumtype with just one case gives strange error message.
|
||||
** Could assert that functions sent to extern code doesn't have an environment (that'd mean that a Lambda is passed outside Carp-land where it most likely won't work)
|
||||
** 'local-include' not needed, just need 'relative-include'?
|
||||
** (load) behaves unintuitively when placed into files, should be relative to the file
|
||||
* Critical Bugs
|
||||
** 0.3
|
||||
*** References must keep track of their origin and prevent usage of them if the origin has been given away.
|
||||
|
Loading…
Reference in New Issue
Block a user