question about sequence



Please HELP!
I define a Sequence in IDL, And try to initial it as below

seq          =XXXX__alloc ();
seq->_buf    =CORBA_sequence_XXXX_allocbuf (len);
seq->_length    =seq->_maximun    =len;
seq->_release   =CORBA_TRUE;

Does it right ?
Thankx a lot.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]