@ -46,9 +46,9 @@ extern "C" {
# include <stdlib.h>
//! @endcond
# include <yc/yc.h>
# include <yc/str.h>
# include <yc/io.h>
# include <yc/str.h>
# include <yc/yc.h>
/**
* @ file yc / gaml . h
@ -332,8 +332,8 @@ ygaml_addItem_nil(YGaml g, const char* key, YGaml* res) yparamsnonnull(1, 2);
* @ pre @ a key must not exist in @ a g .
*/
YStatus
ygaml_addItem_bool ( YGaml g , const char * key , bool val ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_bool ( YGaml g , const char * key , bool val , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds an integer item to the GAML item at the specified key . This panics if
@ -351,8 +351,8 @@ ygaml_addItem_bool(YGaml g, const char* key, bool val,
* @ pre @ a key must not exist in @ a g .
*/
YStatus
ygaml_addItem_int ( YGaml g , const char * key , yullong val , bool neg ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_int ( YGaml g , const char * key , yullong val , bool neg , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds a float item to the GAML item at the specified key . This panics if the
@ -369,8 +369,8 @@ ygaml_addItem_int(YGaml g, const char* key, yullong val, bool neg,
* @ pre @ a key must not exist in @ a g .
*/
YStatus
ygaml_addItem_float ( YGaml g , const char * key , double val ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_float ( YGaml g , const char * key , double val , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds a string item to the GAML item at the specified key . This panics if the
@ -388,8 +388,8 @@ ygaml_addItem_float(YGaml g, const char* key, double val,
* @ pre @ a key must not exist in @ a g .
*/
YStatus
ygaml_addItem_str ( YGaml g , const char * key , ystr val ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_str ( YGaml g , const char * key , ystr val , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds a string item , as a C string , to the GAML item at the specified key .
@ -408,8 +408,8 @@ ygaml_addItem_str(YGaml g, const char* key, ystr val,
* @ pre @ a key must not exist in @ a g .
*/
YStatus
ygaml_addItem_cstr ( YGaml g , const char * key , const yuchar * val ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_cstr ( YGaml g , const char * key , const yuchar * val , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds a symbol item to the GAML item at the specified key . This panics if the
@ -428,8 +428,8 @@ ygaml_addItem_cstr(YGaml g, const char* key, const yuchar* val,
* @ pre @ a val must begin with # .
*/
YStatus
ygaml_addItem_symbol ( YGaml g , const char * key , ystr val ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_symbol ( YGaml g , const char * key , ystr val , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds a symbol item , as a C string , to the GAML item at the specified key .
@ -449,8 +449,8 @@ ygaml_addItem_symbol(YGaml g, const char* key, ystr val,
* @ pre @ a val must begin with # .
*/
YStatus
ygaml_addItem_csymbol ( YGaml g , const char * key , const yuchar * val ,
YGaml * res ) yparamsnonnull ( 1 , 2 ) ;
ygaml_addItem_csymbol ( YGaml g , const char * key , const yuchar * val , YGaml * res )
yparamsnonnull ( 1 , 2 ) ;
/**
* Adds an object item to the GAML item at the specified index , pushing all
@ -528,8 +528,8 @@ ygaml_addElem_bool(YGaml g, size_t idx, bool val, YGaml* res) yparamsnonnull(1);
* @ pre @ a idx must be within range . It can be equal to the length .
*/
YStatus
ygaml_addElem_int ( YGaml g , size_t idx , yullong val , bool neg ,
YGaml * res ) yparamsnonnull ( 1 ) ;
ygaml_addElem_int ( YGaml g , size_t idx , yullong val , bool neg , YGaml * res )
yparamsnonnull ( 1 ) ;
/**
* Adds a float item to the GAML item at the specified index , pushing all
@ -545,8 +545,8 @@ ygaml_addElem_int(YGaml g, size_t idx, yullong val, bool neg,
* @ pre @ a idx must be within range . It can be equal to the length .
*/
YStatus
ygaml_addElem_float ( YGaml g , size_t idx , double val ,
YGaml * res ) yparamsnonnull ( 1 ) ;
ygaml_addElem_float ( YGaml g , size_t idx , double val , YGaml * res )
yparamsnonnull ( 1 ) ;
/**
* Adds a string item to the GAML item at the specified index , pushing all
@ -581,8 +581,8 @@ ygaml_addElem_str(YGaml g, size_t idx, ystr val, YGaml* res) yparamsnonnull(1);
* @ pre @ a idx must be within range . It can be equal to the length .
*/
YStatus
ygaml_addElem_cstr ( YGaml g , size_t idx , const yuchar * val ,
YGaml * res ) yparamsnonnull ( 1 ) ;
ygaml_addElem_cstr ( YGaml g , size_t idx , const yuchar * val , YGaml * res )
yparamsnonnull ( 1 ) ;
/**
* Adds a symbol item to the GAML item at the specified index , pushing all
@ -600,8 +600,8 @@ ygaml_addElem_cstr(YGaml g, size_t idx, const yuchar* val,
* @ pre @ a val must begin with # .
*/
YStatus
ygaml_addElem_symbol ( YGaml g , size_t idx , ystr val ,
YGaml * res ) yparamsnonnull ( 1 ) ;
ygaml_addElem_symbol ( YGaml g , size_t idx , ystr val , YGaml * res )
yparamsnonnull ( 1 ) ;
/**
* Adds a symbol item , as a C string , to the GAML item at the specified index ,
@ -620,9 +620,8 @@ ygaml_addElem_symbol(YGaml g, size_t idx, ystr val,
* @ pre @ a val must begin with # .
*/
YStatus
ygaml_addElem_csymbol ( YGaml g , size_t idx , const yuchar * val ,
YGaml * res ) yparamsnonnull ( 1 ) ;
ygaml_addElem_csymbol ( YGaml g , size_t idx , const yuchar * val , YGaml * res )
yparamsnonnull ( 1 ) ;
/**
* Changes the value of the integer item . This panics if the item is not an