videodecoder.gen.c 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Copyright © 2019 - 2020 Oscar Campos <oscar.campos@thepimpam.com>
  2. // Copyright © 2017 - William Edwards
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. #include "gdnative.gen.h"
  16. #include <gdnative/aabb.h>
  17. #include <gdnative/array.h>
  18. #include <gdnative/basis.h>
  19. #include <gdnative/color.h>
  20. #include <gdnative/dictionary.h>
  21. #include <gdnative/gdnative.h>
  22. #include <gdnative/node_path.h>
  23. #include <gdnative/plane.h>
  24. #include <gdnative/pool_arrays.h>
  25. #include <gdnative/quat.h>
  26. #include <gdnative/rect2.h>
  27. #include <gdnative/rid.h>
  28. #include <gdnative/string.h>
  29. #include <gdnative/string_name.h>
  30. #include <gdnative/transform.h>
  31. #include <gdnative/transform2d.h>
  32. #include <gdnative/variant.h>
  33. #include <gdnative/vector2.h>
  34. #include <gdnative/vector3.h>
  35. #include <gdnative_api_struct.gen.h>
  36. /*------------------------------------------------------------------------------
  37. // This file was autogenerated by PimPam GDNative-Go binding tools
  38. // Please do not modify this file, any change will be lost
  39. //----------------------------------------------------------------------------*/
  40. /* GDNative VIDEODECODER 0.1 */
  41. godot_int go_godot_videodecoder_file_read(godot_gdnative_ext_videodecoder_api_struct * p_api, void * file_ptr, uint8_t * buf, int buf_size) {
  42. return p_api->godot_videodecoder_file_read(file_ptr, buf, buf_size);
  43. }
  44. int64_t go_godot_videodecoder_file_seek(godot_gdnative_ext_videodecoder_api_struct * p_api, void * file_ptr, int64_t pos, int whence) {
  45. return p_api->godot_videodecoder_file_seek(file_ptr, pos, whence);
  46. }
  47. void go_godot_videodecoder_register_decoder(godot_gdnative_ext_videodecoder_api_struct * p_api, const godot_videodecoder_interface_gdnative * p_interface) {
  48. p_api->godot_videodecoder_register_decoder(p_interface);
  49. }