|
@@ -1,6 +1,8 @@
|
|
|
|
|
|
Namespace stb.image
|
|
|
|
|
|
+#Import "<libc>"
|
|
|
+
|
|
|
#Import "native/stb_image.cpp"
|
|
|
#Import "native/stb_image.h"
|
|
|
|
|
@@ -18,5 +20,5 @@ End
|
|
|
Function stbi_load:UByte Ptr( filename:CString,x:Int Ptr,y:Int Ptr,comp:Int Ptr,req_comp:Int )
|
|
|
Function stbi_load_from_memory:UByte Ptr( buffer:UByte Ptr,len:Int,x:Int Ptr,y:Int Ptr,comp:Int Ptr,req_comp:Int )
|
|
|
Function stbi_load_from_callbacks:UByte Ptr( clbk:stbi_io_callbacks Ptr,user:Void Ptr,x:Int Ptr,y:Int Ptr,comp:Int Ptr,req_comp:Int )
|
|
|
-
|
|
|
+Function stbi_load_from_file:UByte Ptr( f:libc.FILE Ptr,x:Int Ptr,y:Int Ptr,comp:Int Ptr,req_comp:Int )
|
|
|
Function stbi_image_free( data:Void Ptr )
|