Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
void hack ( void ) {
// blah
}
void gatekeeper ( void ) {
// nothing important
}
size_t size = (unsigned char*)gatekeeper - (unsigned char *)hack;
Yeah, good question -- what if compiler puts void gatekeeper ( void ) before void hack ( void ), or so much apart that half EXE image will be included? I'm also afraid void gatekeeper ( void ) will be omitted in the release build as it is not doing anything from compiler's standpoint...Is pointer arithmetic allowed on function pointers?
Well "thank you", Salem for brushing me off like that, definitely what I'm doing has no significance at all....But I doubt portability is a concern here, so if it works, use it.