Page 1 of 1

int64_t equivalente en long

Posted: Wed Dec 05, 2018 10:19 pm
by carlos vargas
Estimados tengo que retornar un int64_t desde c a harbour como seria la conversión?
no estoy muy claro si resia float ó float float.

Code: Select all

int64_t VLCWrapperImpl::GetLength()
{
    int64_t length = libvlc_media_player_get_length(pMediaPlayer_);
    return length;
}
hb_retnl( (long) ... );

hb_retnll( (long long) ...);

Re: int64_t equivalente en long

Posted: Thu Dec 06, 2018 7:55 am
by Antonio Linares
Carlos,

hb_retnll( ( HB_LONGLONG ) ... )

Re: int64_t equivalente en long

Posted: Thu Dec 06, 2018 5:18 pm
by carlos vargas
Mil Gracia antonio