Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buff->constants = (unsigned char *)malloc(buff->constantSize + 1);
- int j = 0;
- for (int i=0; i<buff->constantSize; i+=4){
- word_t * ptr = (word_t * )(buff->buffer + i + constantDataStart);
- buff->constants[j] = swap_uint32(*ptr);
- j++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement