Commits

Leonard Ritter committed 6f49022

removed legacy declaration

Comments (0)

Files changed (3)

predefs/stbimage.pypredef

 def stbi_load_from_file(*argv):
     """stbi_load_from_file"""
 
-def stbi_convert_iphone_png_to_rgb(*argv):
-    """stbi_convert_iphone_png_to_rgb"""
+def stbi_load(*argv):
+    """stbi_load"""
 
 STBI_VERSION = int
 def stbi_info_from_file(*argv):
 def stbi_zlib_decode_buffer(*argv):
     """stbi_zlib_decode_buffer"""
 
-def stbi_ldr_to_hdr_gamma(*argv):
-    """stbi_ldr_to_hdr_gamma"""
+def stbi_hdr_to_ldr_gamma(*argv):
+    """stbi_hdr_to_ldr_gamma"""
 
 def stbi_loadf(*argv):
     """stbi_loadf"""
 def stbi_load_from_callbacks(*argv):
     """stbi_load_from_callbacks"""
 
-def stbi_failure_reason(*argv):
-    """stbi_failure_reason"""
+def stbi_is_hdr_from_file(*argv):
+    """stbi_is_hdr_from_file"""
 
 def stbi_loadf_from_memory(*argv):
     """stbi_loadf_from_memory"""
 def stbi_set_unpremultiply_on_load(*argv):
     """stbi_set_unpremultiply_on_load"""
 
-def stbi_hdr_to_ldr_scale(*argv):
-    """stbi_hdr_to_ldr_scale"""
+def stbi_ldr_to_hdr_scale(*argv):
+    """stbi_ldr_to_hdr_scale"""
 
-def stbi_hdr_to_ldr_gamma(*argv):
-    """stbi_hdr_to_ldr_gamma"""
+def stbi_ldr_to_hdr_gamma(*argv):
+    """stbi_ldr_to_hdr_gamma"""
 
 def stbi_image_free(*argv):
     """stbi_image_free"""
 def stbi_is_hdr_from_memory(*argv):
     """stbi_is_hdr_from_memory"""
 
-def stbi_load(*argv):
-    """stbi_load"""
+def stbi_convert_iphone_png_to_rgb(*argv):
+    """stbi_convert_iphone_png_to_rgb"""
 
 def stbi_zlib_decode_noheader_malloc(*argv):
     """stbi_zlib_decode_noheader_malloc"""
 def stbi_info(*argv):
     """stbi_info"""
 
-def stbi_ldr_to_hdr_scale(*argv):
-    """stbi_ldr_to_hdr_scale"""
+def stbi_hdr_to_ldr_scale(*argv):
+    """stbi_hdr_to_ldr_scale"""
 
 def stbi_is_hdr_from_callbacks(*argv):
     """stbi_is_hdr_from_callbacks"""
 def stbi_loadf_from_file(*argv):
     """stbi_loadf_from_file"""
 
-def stbi_is_hdr_from_file(*argv):
-    """stbi_is_hdr_from_file"""
+def stbi_failure_reason(*argv):
+    """stbi_failure_reason"""
 
 def stbi_is_hdr(*argv):
     """stbi_is_hdr"""

stbimage/_stbimage.py

 UNMANGLED_EXPORTS = [
 "_stbi_info_from_callbacks",
 "_stbi_load_from_file",
-"_stbi_convert_iphone_png_to_rgb",
+"_stbi_load",
 "_stbi_info_from_file",
 "_stbi_load_from_memory",
 "_stbi_zlib_decode_buffer",
-"_stbi_ldr_to_hdr_gamma",
+"_stbi_hdr_to_ldr_gamma",
 "_stbi_loadf",
 "_stbi_load_from_callbacks",
-"_stbi_failure_reason",
+"_stbi_is_hdr_from_file",
 "_stbi_loadf_from_memory",
 "_stbi_zlib_decode_malloc",
-"_stbi_hdr_to_ldr_scale",
-"_stbi_hdr_to_ldr_gamma",
+"_stbi_ldr_to_hdr_scale",
+"_stbi_ldr_to_hdr_gamma",
 "_stbi_image_free",
 "_stbi_is_hdr_from_memory",
-"_stbi_load",
+"_stbi_convert_iphone_png_to_rgb",
 "_stbi_zlib_decode_noheader_malloc",
 "_stbi_flip_y",
 "_stbi_info",
-"_stbi_ldr_to_hdr_scale",
+"_stbi_hdr_to_ldr_scale",
 "_stbi_is_hdr_from_callbacks",
 "_stbi_loadf_from_callbacks",
 "_stbi_loadf_from_file",
-"_stbi_is_hdr_from_file",
+"_stbi_failure_reason",
 "_stbi_is_hdr",
 "_stbi_info_from_memory",
 "_stbi_zlib_decode_noheader_buffer",
 from .internal import *
 
 _LIB = load_lib("""
-typedef ... FILE;
 #define STBI_VERSION ...
 enum
 {
 
 _stbi_info_from_callbacks = guard(lookup('stbi_info_from_callbacks'))
 _stbi_load_from_file = guard(lookup('stbi_load_from_file'))
-_stbi_convert_iphone_png_to_rgb = guard(lookup('stbi_convert_iphone_png_to_rgb'))
+_stbi_load = guard(lookup('stbi_load'))
 STBI_VERSION = 1
 _stbi_info_from_file = guard(lookup('stbi_info_from_file'))
 _stbi_load_from_memory = guard(lookup('stbi_load_from_memory'))
 _stbi_zlib_decode_buffer = guard(lookup('stbi_zlib_decode_buffer'))
-_stbi_ldr_to_hdr_gamma = guard(lookup('stbi_ldr_to_hdr_gamma'))
+_stbi_hdr_to_ldr_gamma = guard(lookup('stbi_hdr_to_ldr_gamma'))
 _stbi_loadf = guard(lookup('stbi_loadf'))
 _stbi_load_from_callbacks = guard(lookup('stbi_load_from_callbacks'))
-_stbi_failure_reason = guard(lookup('stbi_failure_reason'))
+_stbi_is_hdr_from_file = guard(lookup('stbi_is_hdr_from_file'))
 _stbi_loadf_from_memory = guard(lookup('stbi_loadf_from_memory'))
 _stbi_zlib_decode_malloc = guard(lookup('stbi_zlib_decode_malloc'))
 stbi_set_unpremultiply_on_load = guard(lookup('stbi_set_unpremultiply_on_load'))
-_stbi_hdr_to_ldr_scale = guard(lookup('stbi_hdr_to_ldr_scale'))
-_stbi_hdr_to_ldr_gamma = guard(lookup('stbi_hdr_to_ldr_gamma'))
+_stbi_ldr_to_hdr_scale = guard(lookup('stbi_ldr_to_hdr_scale'))
+_stbi_ldr_to_hdr_gamma = guard(lookup('stbi_ldr_to_hdr_gamma'))
 _stbi_image_free = guard(lookup('stbi_image_free'))
 _stbi_is_hdr_from_memory = guard(lookup('stbi_is_hdr_from_memory'))
-_stbi_load = guard(lookup('stbi_load'))
+_stbi_convert_iphone_png_to_rgb = guard(lookup('stbi_convert_iphone_png_to_rgb'))
 _stbi_zlib_decode_noheader_malloc = guard(lookup('stbi_zlib_decode_noheader_malloc'))
 _stbi_flip_y = guard(lookup('stbi_flip_y'))
 _stbi_info = guard(lookup('stbi_info'))
-_stbi_ldr_to_hdr_scale = guard(lookup('stbi_ldr_to_hdr_scale'))
+_stbi_hdr_to_ldr_scale = guard(lookup('stbi_hdr_to_ldr_scale'))
 _stbi_is_hdr_from_callbacks = guard(lookup('stbi_is_hdr_from_callbacks'))
 _stbi_loadf_from_callbacks = guard(lookup('stbi_loadf_from_callbacks'))
 _stbi_loadf_from_file = guard(lookup('stbi_loadf_from_file'))
-_stbi_is_hdr_from_file = guard(lookup('stbi_is_hdr_from_file'))
+_stbi_failure_reason = guard(lookup('stbi_failure_reason'))
 _stbi_is_hdr = guard(lookup('stbi_is_hdr'))
 _stbi_info_from_memory = guard(lookup('stbi_info_from_memory'))
 _stbi_zlib_decode_noheader_buffer = guard(lookup('stbi_zlib_decode_noheader_buffer'))

stbimage/defs/prefix.h

 
-typedef ... FILE;
+//typedef ... FILE;
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.