v8.cpp 969 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #include "v8_handle.h"
  2. #include "v8_context.h"
  3. #include "v8_value.h"
  4. #include "v8_string.h"
  5. #include "v8_object.h"
  6. #include "v8_array.h"
  7. #include "v8_message.h"
  8. #include "v8_function.h"
  9. #include "v8_date.h"
  10. #include "v8_script.h"
  11. #include "v8_template.h"
  12. #include "v8_try_catch.h"
  13. #include "v8_callbacks.h"
  14. #include "v8_external.h"
  15. #include "v8_exception.h"
  16. #include "v8_locker.h"
  17. #include "v8_debug.h"
  18. #include "v8_v8.h"
  19. #include <stdio.h>
  20. extern "C" {
  21. void Init_v8();
  22. }
  23. extern "C" {
  24. void Init_v8() {
  25. v8::Locker locker;
  26. rr_init_handle();
  27. rr_init_context();
  28. rr_init_value();
  29. rr_init_string();
  30. rr_init_script();
  31. rr_init_template();
  32. rr_init_object();
  33. rr_init_function();
  34. rr_init_v8_array();
  35. rr_init_v8_date();
  36. rr_init_message();
  37. rr_init_v8_try_catch();
  38. rr_init_v8_callbacks();
  39. rr_init_v8_external();
  40. rr_init_v8_exception();
  41. rr_init_v8_locker();
  42. rr_init_v8_debug();
  43. rr_init_v8_v8();
  44. }
  45. }