Guest User

Untitled

a guest
Apr 26th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. /* test source file, generated with ooc */
  2. #include "test.h"
  3. #include <sdk/lang/BasicTypes.h>
  4. #include <sdk/lang/memory.h>
  5. #include <sdk/lang/ooclib.h>
  6. #include <sdk/lang/stdio.h>
  7. #include <sdk/structs/ArrayList.h>
  8.  
  9. void _test_load(){
  10. static bool __done__ = false;
  11. if (!__done__){
  12. __done__ = true;
  13. _lang_BasicTypes_load();
  14. _lang_memory_load();
  15. _lang_ooclib_load();
  16. _lang_stdio_load();
  17. _structs_ArrayList_load();
  18.  
  19. {
  20. char * array[32] = {"0 #DE Divide Error", "1 #DB RESERVED", "2 - NMI Interrupt", "3 #BP Breakpoint", "4 #OF Overflow", "5 #BR BOUND Range Exceeded", "6 #UD Invalid Opcode (Undefined Opcode)", "7 #NM Device Not Available (No Math Coprocessor)", "8 #DF Double Fault", "9 Coprocessor Segment Overrun (reserved)", "10 #TS Invalid TSS", "11 #NP Segment Not Present", "12 #SS Stack-Segment Fault", "13 #GP General Protection", "14 #PF Page Fault", "15 - (Intel reserved. Do not use.)", "16 #MF x87 FPU Floating-Point Error (Math Fault)", "17 #AC Alignment Check", "18 #MC Machine Check", "19 #XM SIMD Floating-Point Exception", "20 - Intel reserved. Do not use.", "21 - Intel reserved. Do not use.", "22 - Intel reserved. Do not use.", "23 - Intel reserved. Do not use.", "24 - Intel reserved. Do not use.", "25 - Intel reserved. Do not use.", "26 - Intel reserved. Do not use.", "27 - Intel reserved. Do not use.", "28 - Intel reserved. Do not use.", "29 - Intel reserved. Do not use.", "30 - Intel reserved. Do not use.", "31 - Intel reserved. Do not use."};
  21. halExceptions = array;
  22. };
  23. }
  24. }
  25.  
  26.  
  27. int main(){
  28. GC_INIT();
  29. _test_load();
  30. }
  31.  
  32. structs__ArrayList *halExceptions;
Add Comment
Please, Sign In to add comment