Fixed bug related to get type of C structure

Signed-off-by: Herbert Rocha <herberthb12@gmail.com>