PluginInterface.mm 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // PluginInterface.m
  3. // Unity-iPhone
  4. //
  5. // Created by Xillscar on 12-7-10.
  6. // Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
  7. //
  8. //#import "Unity3DPluginManager.h"
  9. extern "C" {
  10. void U3dNdCallFunctionNoReturn(const char * function,int length,int types[],const char * args[])
  11. {
  12. return ;
  13. }
  14. bool U3dNdCallFunctionReturnBool(const char * function,int length,int types[],const char * args[])
  15. {
  16. return true;
  17. }
  18. int8_t U3dNdCallFunctionReturnInt8(const char * function,int length,int types[],const char * args[])
  19. {
  20. return 0;
  21. }
  22. int16_t U3dNdCallFunctionReturnInt16(const char * function,int length,int types[],const char * args[])
  23. {
  24. return 0;
  25. }
  26. int32_t U3dNdCallFunctionReturnInt32(const char * function,int length,int types[],const char * args[])
  27. {
  28. return 0;
  29. }
  30. int64_t U3dNdCallFunctionReturnInt64(const char * function,int length,int types[],const char * args[])
  31. {
  32. return 0;
  33. }
  34. float_t U3dNdCallFunctionReturnFloat(const char * function,int length,int types[],const char * args[])
  35. {
  36. return 0;
  37. }
  38. double_t U3dNdCallFunctionReturnDouble(const char * function,int length,int types[],const char * args[])
  39. {
  40. return 0;
  41. }
  42. const char * U3dNdCallFunctionReturnString(const char * function,int length,int types[],const char * args[])
  43. {
  44. return nil;
  45. }
  46. }