| 88 | } |
| 89 | |
| 90 | static void byebye(bool error=false, bool wait=false, laszip_POINTER laszip=0) |
| 91 | { |
| 92 | if (error) |
| 93 | { |
| 94 | dll_error(laszip); |
| 95 | } |
| 96 | if (wait) |
| 97 | { |
| 98 | fprintf(stderr,"<press ENTER>\n"); |
| 99 | getc(stdin); |
| 100 | } |
| 101 | exit(error); |
| 102 | } |
| 103 | |
| 104 | static double taketime() |
| 105 | { |