android.gen.c 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 ANDROID 1.1 */
  41. JNIEnv* go_godot_android_get_env(godot_gdnative_ext_android_api_struct * p_api) {
  42. return p_api->godot_android_get_env();
  43. }
  44. jobject go_godot_android_get_activity(godot_gdnative_ext_android_api_struct * p_api) {
  45. return p_api->godot_android_get_activity();
  46. }
  47. jobject go_godot_android_get_surface(godot_gdnative_ext_android_api_struct * p_api) {
  48. return p_api->godot_android_get_surface();
  49. }
  50. bool go_godot_android_is_activity_resumed(godot_gdnative_ext_android_api_struct * p_api) {
  51. return p_api->godot_android_is_activity_resumed();
  52. }