Guest User

Untitled

a guest
May 27th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. if(strcmp(id, "print") == 0)
  3. {
  4. return libfunc_print;
  5. }
  6. else if(strcmp(id, "input") == 0)
  7. {
  8. return libfunc_input;
  9. }
  10. else if(strcmp(id, "objectmemberkeys") == 0)
  11. {
  12. return libfunc_objectmemberkeys;
  13. }
  14. else if(strcmp(id, "objecttotalmembers") == 0)
  15. {
  16. return libfunc_objecttotalmembers;
  17. }
  18. else if(strcmp(id, "objectcopy") == 0)
  19. {
  20. return libfunc_objectcopy;
  21. }
  22. else if(strcmp(id, "totalarguments") == 0)
  23. {
  24. return libfunc_totalarguments;
  25. }
  26. else if(strcmp(id, "argument") == 0)
  27. {
  28. return libfunc_argument;
  29. }
  30. else if(strcmp(id, "typeof") == 0)
  31. {
  32. return libfunc_typeof;
  33. }
  34. else if(strcmp(id, "strtonum") == 0)
  35. {
  36. return libfunc_strtonum;
  37. }
  38. else if(strcmp(id, "sqrt") == 0)
  39. {
  40. return libfunc_sqrt;
  41. }
  42. else if(strcmp(id, "cos") == 0)
  43. {
  44. return libfunc_cos;
  45. }
  46. else if(strcmp(id, "sin") == 0)
  47. {
  48. return libfunc_sin;
  49. }
  50. else
  51. {
  52. return NULL;
  53. }
  54. }
RAW Paste Data