Skip to content

Commit

Permalink
[BOX32][WRAPPING] More fixes with intermediate structure conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Sep 24, 2024
1 parent d7ad7f0 commit b38c5f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/wrapped32/generated/converter32.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ void to_struct_H(ptr_t d, const struct_H_t *src) {

void from_struct_ppppp(struct_ppppp_t *dest, ptr_t s) {
uint8_t* src = (uint8_t*)from_ptrv(s);
dest->p0 = *(void**)src; src += 4;
dest->p1 = *(void**)src; src += 4;
dest->p2 = *(void**)src; src += 4;
dest->p3 = *(void**)src; src += 4;
dest->p4 = *(void**)src; src += 4;
dest->p0 = from_ptrv(*(ptr_t*)src); src += 4;
dest->p1 = from_ptrv(*(ptr_t*)src); src += 4;
dest->p2 = from_ptrv(*(ptr_t*)src); src += 4;
dest->p3 = from_ptrv(*(ptr_t*)src); src += 4;
dest->p4 = from_ptrv(*(ptr_t*)src); src += 4;
}
void to_struct_ppppp(ptr_t d, const struct_ppppp_t *src) {
if (!src) return;
Expand Down

0 comments on commit b38c5f0

Please sign in to comment.