Skip to content

Instantly share code, notes, and snippets.

@evmar
Created June 11, 2015 17:23
Show Gist options
  • Save evmar/909657eda5635e12a478 to your computer and use it in GitHub Desktop.
Save evmar/909657eda5635e12a478 to your computer and use it in GitHub Desktop.
go run gen.go cairo-preprocessed.h cairo/cairo.go
2015/06/11 10:23:04 skipped cairo_bool_t: mapped to bool
2015/06/11 10:23:04 TODO cairo_destroy_func_t: callbacks back into Go
2015/06/11 10:23:04 skipped cairo_user_data_key_t: type only used as a placeholder in C
2015/06/11 10:23:04 TODO cairo_write_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_read_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 skipped cairo_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_get_reference_count: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_get_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_set_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 TODO cairo_rectangle_list_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_list_t: hard to wrap API
2015/06/11 10:23:04 skipped cairo_rectangle_list_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_text_cluster_t: needs work
2015/06/11 10:23:04 TODO cairo_text_cluster_t: needs work
2015/06/11 10:23:04 TODO cairo_text_cluster_t: needs work
2015/06/11 10:23:04 skipped cairo_font_options_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 skipped cairo_font_face_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_font_face_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_font_face_get_reference_count: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_font_face_get_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_font_face_set_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_scaled_font_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_scaled_font_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_scaled_font_get_reference_count: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_scaled_font_get_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_scaled_font_set_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 TODO cairo_glyph_t: needs work
2015/06/11 10:23:04 TODO cairo_scaled_font_text_to_glyphs: fancy font APIs
2015/06/11 10:23:04 TODO cairo_user_scaled_font_init_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_scaled_font_render_glyph_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_scaled_font_text_to_glyphs_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_scaled_font_unicode_to_glyph_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_set_init_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_set_render_glyph_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_set_text_to_glyphs_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_set_unicode_to_glyph_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_get_init_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_get_render_glyph_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_get_text_to_glyphs_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_user_font_face_get_unicode_to_glyph_func: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_path_data_t: hard to wrap API
2015/06/11 10:23:04 skipped Decl{, struct _cairo_path_data_t}: anonymous type
2015/06/11 10:23:04 TODO cairo_path_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_path_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_path_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_path_t: hard to wrap API
2015/06/11 10:23:04 skipped cairo_path_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_status_to_string: mapped to the error interface, use .Error()
2015/06/11 10:23:04 skipped cairo_device_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_device_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_device_get_reference_count: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_device_get_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_device_set_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_surface_observer_callback_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_paint_callback: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_mask_callback: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_fill_callback: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_stroke_callback: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_glyphs_callback: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_flush_callback: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_surface_observer_add_finish_callback: callbacks back into Go
2015/06/11 10:23:04 TODO void: in type blacklist (TODO: add reasoning)
2015/06/11 10:23:04 TODO void: in type blacklist (TODO: add reasoning)
2015/06/11 10:23:04 skipped cairo_surface_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_surface_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_surface_get_reference_count: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_surface_write_to_png: specially implemented to work with io.Writer
2015/06/11 10:23:04 skipped cairo_surface_write_to_png_stream: specially implemented to work with io.Writer
2015/06/11 10:23:04 skipped cairo_surface_get_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_surface_set_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 TODO cairo_surface_get_mime_data: mime functions
2015/06/11 10:23:04 TODO cairo_surface_set_mime_data: mime functions
2015/06/11 10:23:04 TODO uchar: in type blacklist (TODO: add reasoning)
2015/06/11 10:23:04 TODO uchar: in type blacklist (TODO: add reasoning)
2015/06/11 10:23:04 TODO void: in type blacklist (TODO: add reasoning)
2015/06/11 10:23:04 TODO cairo_raster_source_acquire_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_release_func_t: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_raster_source_snapshot_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_copy_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_finish_func_t: callbacks
2015/06/11 10:23:04 TODO void: in type blacklist (TODO: add reasoning)
2015/06/11 10:23:04 TODO cairo_raster_source_pattern_set_callback_data: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_raster_source_pattern_get_callback_data: callbacks back into Go
2015/06/11 10:23:04 TODO cairo_raster_source_acquire_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_acquire_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_snapshot_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_snapshot_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_copy_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_copy_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_finish_func_t: callbacks
2015/06/11 10:23:04 TODO cairo_raster_source_finish_func_t: callbacks
2015/06/11 10:23:04 skipped cairo_pattern_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_pattern_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_pattern_get_reference_count: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_pattern_get_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 skipped cairo_pattern_set_user_data: closures mean you don't need user data(?)
2015/06/11 10:23:04 TODO cairo_pattern_get_rgba: mix of out params and status
2015/06/11 10:23:04 TODO cairo_pattern_get_surface: need to figure out refcounting
2015/06/11 10:23:04 TODO cairo_pattern_get_color_stop_rgba: mix of out params and status
2015/06/11 10:23:04 TODO cairo_pattern_get_color_stop_count: mix of out params and status
2015/06/11 10:23:04 TODO cairo_pattern_get_linear_points: mix of out params and status
2015/06/11 10:23:04 TODO cairo_pattern_get_radial_circles: mix of out params and status
2015/06/11 10:23:04 TODO cairo_mesh_pattern_get_patch_count: mix of out params and status
2015/06/11 10:23:04 TODO cairo_path_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_mesh_pattern_get_corner_color_rgba: mix of out params and status
2015/06/11 10:23:04 TODO cairo_mesh_pattern_get_control_point: mix of out params and status
2015/06/11 10:23:04 skipped cairo_matrix_init: just the same thing as creating the struct yourself
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 skipped cairo_region_reference: Go uses GC instead of refcounting
2015/06/11 10:23:04 skipped cairo_region_destroy: Go uses GC instead of refcounting
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 TODO cairo_rectangle_int_t: hard to wrap API
2015/06/11 10:23:04 403 decls total, 85 skipped intentionally / 48 TODO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment