Show
Ignore:
Timestamp:
08/13/08 12:48:09 (5 months ago)
Author:
liamstask
Message:

- updated struct documentation: much better xbee doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • firmware/trunk/libraries/json/json.h

    r719 r815  
    4242typedef struct 
    4343{ 
    44   JsonEncode_Step steps[JSON_MAX_DEPTH]; 
    45   int depth; 
     44  JsonEncode_Step steps[JSON_MAX_DEPTH]; /**< An array to keep track of the state of each step in the encoder. */ 
     45  int depth;                             /**< The current depth of the encoder (how many elements have been opened). */ 
    4646} JsonEncode_State; 
    4747 
     
    6060 */ 
    6161typedef struct { 
    62   JsonDecode_Step steps[JSON_MAX_DEPTH]; 
    63   int depth; 
    64   bool gotcomma; 
    65   void* context; 
    66   char* p; 
    67   int len; 
     62  JsonDecode_Step steps[JSON_MAX_DEPTH]; /**< An array to keep track of each step of the decoder. */ 
     63  int depth;                             /**< The current depth of the decoder (how many elements have been opened). */ 
     64  bool gotcomma;                         /**< Used internally by the decoder. */ 
     65  void* context;                         /**< A pointer to the user context. */ 
     66  char* p;                               /**< A pointer to the data. */ 
     67  int len;                               /**< The current length. */ 
    6868} JsonDecode_State; 
    6969