1 2 Previous Next 15 Replies Latest reply on Nov 15, 2018 9:33 AM by zhfeng

    Blacktie Data buffer - 2D char array

    dnlsaravanan

      Hi,

       

      I want to create 2D (two dimensional) char array data buffer for my C structure using Blacktie. How to do this (syntax)?

       

      Ex: this is my C structure

      typedef struct mystruct

      {

      char input [200][4];

      }DATA_BUFFER;

       

      I've tried this way to create buffer for C structure:

       

      <BUFFER name="mystruct">

           <ATTRIBUTE id="input" type="char[][]" arrayCount="200" arrayLength="4" />

      </BUFFER>

       

      Is this buffer syntax/definition correct? Please suggest.  Seems no example covers in quickstart examples.

       

      Thanks,
      Saravanan

        1 2 Previous Next