Browse Source

fixed of storageType in doc #509 @memalkey

Stasik0 8 years ago
parent
commit
468259fe8f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/tutorial_server_variables.rst

+ 2 - 2
doc/tutorial_server_variables.rst

@@ -32,9 +32,9 @@ The members of the struct are
 
 * storageType:  used to declare who the owner of data is and to which lifecycle it belongs. Three different cases are possible:
 
- * UA_VARIANT_DATA: this is the simplest case. The data belongs to the variant, which means if the variant is deleted so does the data which is kept inside
+ * UA_VARIANT_DATA: this is the simplest case. The data belongs to the variant, which means if the variant is deleted so does the data which is kept inside,
  
- * UA_VARIANT_DATASOURCE: in this case user-defined functions are called to access the data. The signature of the functions is defined by UA_VariantDataSource structure. A use-case could be to access a sensor only when the data is asked by some client
+ * UA_VARIANT_NODELETE: in this case user-defined data is inside of the variant, meaning that the data will not be automatically freed by the stack.
 
 * arrayLength: length of the array (-1 if a scalar is saved)