Вопрос

What is the right way to declare an unsigned LongLong (unsigned __int64) in Protobuf, so it would be used for both, Android and Windows?

EDIT: I thought that I might need to use to variables, each holds a uint64, but I wasn't sure if this is the correct way to go.

UPDATE

I used uint64 in the protobuf file and compile it. the result in the cpp file was unsigned __int64. I got confused because in the docs they say it is mapped to long..

Это было полезно?

Решение

The documentation clearly lists the available scalar types.

Not sure exactly what you're after, but perhaps uint64?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top