Legacy C Kills Me
1,086
0
Advertisement
Once upon a time, merely years after I was born, and only very shortly after the first ANSI C standard - the following was apparently an acceptable and widely understood cast:
Not only is it bad enough that they widely declare void pointers instead of typing variables - but they even go so far as to use casts that change the return type and arguments of a function.
(uint32 *((*)()))&varNot only is it bad enough that they widely declare void pointers instead of typing variables - but they even go so far as to use casts that change the return type and arguments of a function.
Previous
Getting ready to go back to school
Next
Entourage is the best show ever - boobies and a threesome all in one episode
Advertisement
Advertisement
Advertisement
Discussion