Changes between Version 1 and Version 2 of IMPref_allocator


Ignore:
Timestamp:
May 1, 2016, 12:10:03 PM (8 years ago)
Author:
okuma-top
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IMPref_allocator

    v1 v2  
    3030{{{
    3131  signature sSendRecv {
    32     /* この関数名に send, receive を使ってしまうと allocator 指定できない */
     32    /* この関数名に send, receive を使ってしまうとアロケータ指定できない */
    3333    ER snd( [send(sAlloc),size_is(sz)]int8 *buf, [in]int32  sz );
    3434    ER rcv( [receive(sAllocTMO),size_is(*sz)]int8 **buf, [out]int32  *sz );
     
    141141{{{
    142142  signature sSendRecv {
    143     /* この関数名に send, receive を使ってしまうと allocator 指定できない */
     143    /* この関数名に send, receive を使ってしまうとアロケータ指定できない */
    144144    ER snd( [send(sAlloc),size_is(sz)]int8_t *buf, [in]int32_t  sz );
    145145    ER rcv( [receive(sAlloc),size_is(*sz)]int8_t **buf, [out]int32_t  *sz );
     
    157157   /* セルの定義で、受け口の send/receive 指定された引数のアロケータ指定不要 */
    158158   cell tThroughComponent comp{
    159      cSR = TargetCell.eS;   /* TargetCell で allocator 指定が必要 */
     159     cSR = TargetCell.eS;   /* TargetCell でアロケータ指定が必要 */
    160160   };
    161161}}}