| | @@ -0,0 +1,5963 @@ |
| 1 | +aul
|
| 2 | +o 2008-05-20 * C2
|
| 3 | + MODE_KEY = 3, break;
|
| 4 | +/* LICENSE
|
| 5 | +
|
| 6 | +CopyCENSE
|
| 7 | +
|
| 8 | +Copy
|
| 9 | +
|
| 10 | +
|
| 11 | +
|
| 12 | +
|
| 13 | +
|
| 14 | +pack.c */
|
| 15 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 16 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 17 | + use
|
| 18 | + the defaul
|
| 19 | +o 2008-05-20 * C2
|
| 20 | + MODE_KEY = 3, break;
|
| 21 | +/* LICENSE
|
| 22 | +
|
| 23 | +CopyCENSE
|
| 24 | +
|
| 25 | +Copy
|
| 26 | +
|
| 27 | +
|
| 28 | +
|
| 29 | +
|
| 30 | +
|
| 31 | +pack.c */
|
| 32 | +if( use
|
| 33 | + the clone_shared(ul
|
| 34 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 35 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 36 | + the def use
|
| 37 | + the defaul
|
| 38 | +o 2008-05-20 * C2
|
| 39 | + MODE_KEY = 3, break;
|
| 40 | +/* LICENSE
|
| 41 | +
|
| 42 | +CopyCENSE
|
| 43 | +
|
| 44 | +Copy
|
| 45 | +
|
| 46 | + use
|
| 47 | + }
|
| 48 | +
|
| 49 | + use
|
| 50 | + the defaul
|
| 51 | +o 2008-05-20 * C2
|
| 52 | + MODE_KEY = 3, break;
|
| 53 | +/* LICENSE
|
| 54 | +
|
| 55 | +CopyCENSE
|
| 56 | +
|
| 57 | +Copy
|
| 58 | +
|
| 59 | +
|
| 60 | +
|
| 61 | +
|
| 62 | +
|
| 63 | +pack.c */
|
| 64 | +? cson_guess_arg_type(pos: use
|
| 65 | + the defaul
|
| 66 | +0 != (rc= use
|
| 67 | + the defaul
|
| 68 | +o 2008-05-20 * C2
|
| 69 | + MODE_KEY = 3, break;
|
| 70 | +/* LICENSE
|
| 71 | +
|
| 72 | +CopyCENSE
|
| 73 | +
|
| 74 | +Copy
|
| 75 | +
|
| 76 | +
|
| 77 | +
|
| 78 | +
|
| 79 | +
|
| 80 | +pack.c */
|
| 81 | + defaul
|
| 82 | +o 2008-05-20 * C2
|
| 83 | + MODE_KEY = 3, break;
|
| 84 | +/* LICENSE
|
| 85 | +
|
| 86 | +CopyCENSE
|
| 87 | +
|
| 88 | +Copy
|
| 89 | +
|
| 90 | +
|
| 91 | +
|
| 92 | +
|
| 93 | +
|
| 94 | +pack.c */
|
| 95 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 96 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 97 | + use
|
| 98 | + the defaul
|
| 99 | +o 2008-05-20 * C2
|
| 100 | + MODE_KEY = 3, break;
|
| 101 | +/* LICENSE
|
| 102 | +
|
| 103 | +CopyCENSE
|
| 104 | +
|
| 105 | +Copy
|
| 106 | +
|
| 107 | +
|
| 108 | +
|
| 109 | +
|
| 110 | +
|
| 111 | +pack.c */
|
| 112 | +if( use
|
| 113 | + the clone_shared(ul
|
| 114 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 115 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 116 | + the def use
|
| 117 | + the defaul
|
| 118 | +o 2008-05-20 * C2
|
| 119 | + MODE_KEY = 3, break;
|
| 120 | +/* LICENSE
|
| 121 | +
|
| 122 | +CopyCENSE
|
| 123 | +
|
| 124 | +Copy
|
| 125 | +
|
| 126 | + use
|
| 127 | + }
|
| 128 | +
|
| 129 | + use
|
| 130 | + the defaul
|
| 131 | +o 2008-05-20 * C2
|
| 132 | + MODE_KEY = 3, break;
|
| 133 | +/* LICENSessi
|
| 134 | +/* LIaul
|
| 135 | +o 2008-05-20 MODE_KEY = 3, use
|
| 136 | + emcpy()aul
|
| 137 | +o 2008-05-20 e
|
| 138 | + MODE_KEY = 3, use
|
| 139 | + ;
|
| 140 | + p->c 0 == rc ) use
|
| 141 | + }ARRAY_END:( ch}/*
|
| 142 | + refcount the keys!: moved cson_value_new() and cson_value_set_xxx() out of
|
| 143 | + MODE_KEY = 3aul
|
| 144 | +o 2008-05-20 * C2
|
| 145 | + MODE_KEY = 3, break;
|
| 146 | +/* LICENSE
|
| 147 | +
|
| 148 | +CopyCENSE
|
| 149 | +
|
| 150 | +Copy
|
| 151 | +
|
| 152 | +
|
| 153 | +
|
| 154 | +
|
| 155 | +
|
| 156 | +pack.c */
|
| 157 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 158 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 159 | + use
|
| 160 | + the defaul
|
| 161 | +o 2008-05-20 * C2
|
| 162 | + MODE_KEY = 3, break;
|
| 163 | +/* LICENSE
|
| 164 | +
|
| 165 | +CopyCENSE
|
| 166 | +
|
| 167 | +Copy
|
| 168 | +
|
| 169 | +
|
| 170 | +
|
| 171 | +
|
| 172 | +
|
| 173 | + a) They can be easily mis-used to cause memory leaks, even when used in
|
| 174 | + a manner which seems relatively intuitive.
|
| 175 | +
|
| 176 | + b) Having them in the API prohibits us from eventually doing certain
|
| 177 | + allocation optimizations like not allocating Booleans,
|
| 178 | + Integer/Doubles with the value 0, or empty Strings. The main problem
|
| 179 | + is that cson_value_set_xxx() cannot be implemented properly if we
|
| 180 | + add that type of optimization.
|
| 181 | +*/P@EpP,2x:value with the "undefined" value and transfers
|
| 182 | + ownership of it to the caller. Use The cson_value_set_xxx() family
|
| 183 | + of functions to assign a typed value to it. It must eventually be
|
| 184 | + W@Gt~,Z@GuY,1:
|
| 185 | +J@aul,1:)4c@H0X,1X:);
|
| 186 | +/**
|
| 187 | + Cleans any existing contents of val and sets its new value
|
| 188 | + to the special NULL valueR@NQi,A:
|
| 189 | +
|
| 190 | +*/
|
| 191 | +#if 0H@R6l,E:value_set_nullM@DjD,1G:#endif
|
| 192 | +/**
|
| 193 | + Cleans any existing contents of val and sets its new value
|
| 194 | + to vR@NQi,A:
|
| 195 | +
|
| 196 | +*/
|
| 197 | +#if 0H@R6l,1x:value_set_bool( cson_value * val, char v );
|
| 198 | +#endif
|
| 199 | +/**
|
| 200 | + Cleans any existing contents of val and sets its new value
|
| 201 | + to vR@NQi,1:
|
| 202 | +K@TVj,9:value_setL@Je0,1W:* val, cson_int_t v );
|
| 203 | +/**
|
| 204 | + Cleans any existing contents of val and sets its new value
|
| 205 | + to vR@NQi,K@TVj,7:value_sM@KDS,6:* val,I@LDz,2b:;
|
| 206 | +
|
| 207 | +/**
|
| 208 | + Cleans any existing contents of val and sets its new value to
|
| 209 | + str. On success, ownership of str is passed on to val. On error
|
| 210 | + ownership is not changedR@NQi,h:
|
| 211 | +
|
| 212 | + If str is NULL, (!*str), or (!len) thenN@C3e,i:
|
| 213 | + allocate any memory for a new string, andI@KEW,N:string()
|
| 214 | + will returnG@RN0,S: as opposed to a NULL stringL@abW,8:value_seL@T1T,6:* val,a@LIU,2:;
|
| 215 | +U@HBG,P@H~G,R@HXc,H@H7G,K:,"cson_value_new");
|
| 216 | +H@Jb0,M@HyW,Q0@H_h,O@C4G,7:integerL@C4i,n:
|
| 217 | +{
|
| 218 | + if( self )
|
| 219 | + {
|
| 220 | +#if !CSON_VOID_PTR_IS_BIG
|
| 221 | +I@ICV,O:self->value,"cson_int_t"I@_KF,_:*self = cson_value_empty;
|
| 222 | + }
|
| 223 | +I@R6k,9:value_setL@Je0,6:* val,Q@L9W,5:! valg@VJl,O:#if CSON_VOID_PTR_IS_BIGK@_g~,5:cleanH@Idk,3:valI@HZ~,W:v;
|
| 224 | +#else
|
| 225 | + cson_int_t * ivH@IDW,G:iv = (cson_int_tQ@KbM,K:int_t), "cson_int_t"H@akl,1:iK@LZl,J@PD0,B@Ht~,5:cleanH@Idk,7:*iv = vA@Hyl,F:val->value = ivH@_KG,A:val->api =H@Cll,7:integerT@DxG,G@S_l,7:value_sM@KDS,6:* val,T@LDz,5:! valo@VJl,I:cson_double_t * rvH@IDW,B@Ht~,5:cleanH@Idk,A:val->api =H@Cll,S:double;
|
| 226 | + if( 0.0 != vP@URW,17:/*
|
| 227 | + sessmgr_reg cson_sessmgr_reg;
|
| 228 | +/**
|
| 229 | + Holds name-to-factory mappings for cson_sessmgr implementations.
|
| 230 | +*/
|
| 231 | +struct cson_sessmgr_reg
|
| 232 | +{
|
| 233 | + char name[CsonSessionNameLen];
|
| 234 | + cson_sessmgr_factory_f factory;
|
| 235 | +};
|
| 236 | +
|
| 237 | +
|
| 238 | +#if !CSON_ENABLE_CPDO
|
| 239 | +int cson_sessmgr_cpdo( cson_sessmgr ** tgt,ptrc.UnsupportedError;
|
| 240 | +}
|
| 241 | +#endif
|
| 242 | +#if !CSON_ENABLE_WHIO
|
| 243 | +int cson_sessmgr_whio_ht( cson_sessmgr ** tgt,ptrc.UnsupportedError;
|
| 244 | +}
|
| 245 | +int cson_sessmgr_whio_epfs( cson_sessmgr ** tgt,ptrc.UnsupportedError;
|
| 246 | +}
|
| 247 | +#endif
|
| 248 | +
|
| 249 | +/**
|
| 250 | + Holds the list of registered cson_sessmgr implementations. Used by
|
| 251 | + cson_sessmgr_register(), cson_sessmgr_load(), and
|
| 252 | + cson_sessmgr_names().
|
| 253 | +
|
| 254 | + Maintenance reminder: the API docs promise that at least 10 slots
|
| 255 | + are initially availableessmgr_reg CsonSessionReg[] = {
|
| 256 | +{{'f','i','l','e',0},cson_sessmgr_file},
|
| 257 | +#if CSON_ENABLE_CPDO
|
| 258 | +{{'c','p','d','o',0},cson_sessmgr_cpdo},
|
| 259 | +#endif
|
| 260 | +#if CSON_ENABLE_WHIO
|
| 261 | +{{'w','h','i','o','_','h','t',0},cson_sessmgr_whio_ht},
|
| 262 | +{{'w','h','i','o','_','e','p','f','s',0},cson_sessmgr_whio_epfs},
|
| 263 | +#endif
|
| 264 | +#define REG {{0},NULL}
|
| 265 | +REG,REG,REG,REG,REG,
|
| 266 | +REG,aul
|
| 267 | +o 2008-05-20 * C2
|
| 268 | + MODE_KEY = 3, break;
|
| 269 | +/* LICENSE
|
| 270 | +
|
| 271 | +CopyCENSE
|
| 272 | +
|
| 273 | +Copy
|
| 274 | +
|
| 275 | +
|
| 276 | +
|
| 277 | +
|
| 278 | +
|
| 279 | +pack.c */
|
| 280 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 281 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 282 | + use
|
| 283 | + the defaul
|
| 284 | +o 2008-05-20 * C2
|
| 285 | + MODE_KEY = 3, break;
|
| 286 | +/* LICENSE
|
| 287 | +
|
| 288 | +CopyCENSE
|
| 289 | +
|
| 290 | +Copy
|
| 291 | +
|
| 292 | +
|
| 293 | +
|
| 294 | +
|
| 295 | +
|
| 296 | +pack.c */
|
| 297 | +if( use
|
| 298 | + the clone_shared(ul
|
| 299 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 300 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 301 | + the def use
|
| 302 | + the defaul
|
| 303 | +o 2008-05-20 * C2
|
| 304 | + MODE_KEY = 3, break;
|
| 305 | +/* LICENSE
|
| 306 | +
|
| 307 | +CopyCENSE
|
| 308 | +
|
| 309 | +Copy
|
| 310 | +
|
| 311 | + use
|
| 312 | + }
|
| 313 | +
|
| 314 | + use
|
| 315 | + the defaul
|
| 316 | +o 2008-05-20 * C2
|
| 317 | + MODE_KEY = 3, break;
|
| 318 | +/* LICENSE
|
| 319 | +
|
| 320 | +CopyCENSE
|
| 321 | +
|
| 322 | +Copy
|
| 323 | +
|
| 324 | +
|
| 325 | +
|
| 326 | +
|
| 327 | +
|
| 328 | +pack.c */
|
| 329 | +? cson_guess_arg_type(pos: use
|
| 330 | + the defaul
|
| 331 | +0 != (rc= use
|
| 332 | + the defaul
|
| 333 | +o 2008-05-20 * C2
|
| 334 | + MODE_KEY = 3, break;
|
| 335 | +/* LICENSE
|
| 336 | +
|
| 337 | +CopyCENSE
|
| 338 | +
|
| 339 | +Copy
|
| 340 | +
|
| 341 | +
|
| 342 | +
|
| 343 | +
|
| 344 | +
|
| 345 | +pack.c */
|
| 346 | + defaul
|
| 347 | +o 2008-05-20 * C2
|
| 348 | + MODE_KEY = 3, break;
|
| 349 | +/* LICENSE
|
| 350 | +
|
| 351 | +CopyCENSE
|
| 352 | +
|
| 353 | +Copy
|
| 354 | +
|
| 355 | +
|
| 356 | +
|
| 357 | +
|
| 358 | +
|
| 359 | +pack.c */
|
| 360 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 361 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 362 | + use
|
| 363 | + the defaul
|
| 364 | +o 2008-05-20 * C2
|
| 365 | + MODE_KEY = 3, break;
|
| 366 | +/* LICENSE
|
| 367 | +
|
| 368 | +CopyCENSE
|
| 369 | +
|
| 370 | +Copy
|
| 371 | +
|
| 372 | +
|
| 373 | +
|
| 374 | +
|
| 375 | +
|
| 376 | +pack.c */
|
| 377 | +if( use
|
| 378 | + the clone_shared(ul
|
| 379 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 380 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 381 | + the def use
|
| 382 | + the defaul
|
| 383 | +o 2008-05-20 * C2
|
| 384 | + MODE_KEY = 3, break;
|
| 385 | +/* LICENSE
|
| 386 | +
|
| 387 | +CopyCENSE
|
| 388 | +
|
| 389 | +Copy
|
| 390 | +
|
| 391 | + use
|
| 392 | + }
|
| 393 | +
|
| 394 | + use
|
| 395 | + the defaul
|
| 396 | +o 2008-05-20 * C2
|
| 397 | + MODE_KEY = 3, break;
|
| 398 | +/* LICENSE
|
| 399 | +
|
| 400 | +CopyCENSE
|
| 401 | +
|
| 402 | +Copy
|
| 403 | +
|
| 404 | +
|
| 405 | +
|
| 406 | +
|
| 407 | +
|
| 408 | +pack.c */
|
| 409 | +? cson_guess_arg_type(pos: use
|
| 410 | + the defaul
|
| 411 | +0 != (rc= use
|
| 412 | + the defaul
|
| 413 | +o 2008-05-20 * C2
|
| 414 | + MODE_KEY = 3, break;
|
| 415 | +/* LICENSE
|
| 416 | +
|
| 417 | +CopyCENSE
|
| 418 | +
|
| 419 | +Copy
|
| 420 | +
|
| 421 | +
|
| 422 | +
|
| 423 | +
|
| 424 | +
|
| 425 | +pack.c */
|
| 426 | +0_guess_arg_type(pos: use
|
| 427 | + t use
|
| 428 | + MODE_KEY = 3, use
|
| 429 | + ;
|
| 430 | + p->c 0 == rc ) use
|
| 431 | + }ARRAY_END:( ch}/*
|
| 432 | + refcount the keys! We first need a setter which takes
|
| 433 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 434 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 435 | +# pop ) ownership of it to the
|
| 436 | + caller. It must eventually be destroyed, by the caller or its
|
| 437 | + owning or transfering
|
| 438 | +
|
| 439 | +void/**
|
| 440 | + This special-case impl is needed because the underlying
|
| 441 | + (generic) list operations do not know how to populate
|
| 442 | + new entries
|
| 443 | + */ use
|
| 444 | + the =*arg)){ use
|
| 445 | + the def use
|
| 446 | + the defaul
|
| 447 | +o 2008-05-20 * C2
|
| 448 | + MODE_KEY = 3, break;
|
| 449 | +/* LICENSE
|
| 450 | +
|
| 451 | +CopyCENSE
|
| 452 | +
|
| 453 | +Copy
|
| 454 | +
|
| 455 | + use
|
| 456 | + }
|
| 457 | +
|
| 458 | + use
|
| 459 | + the defaul
|
| 460 | +o 2008-05-20 * C2
|
| 461 | + MODE_KEY = 3, break;
|
| 462 | +/* LICENSE
|
| 463 | +
|
| 464 | +CopyCENSE
|
| 465 | +
|
| 466 | +Copy
|
| 467 | +
|
| 468 | +
|
| 469 | +
|
| 470 | +
|
| 471 | +
|
| 472 | +pack.c */
|
| 473 | +? cson_guess_arg_type(pos: use
|
| 474 | + the defaul
|
| 475 | +0 != (rc= use
|
| 476 | + the defaul
|
| 477 | +o 2008-05-20 * C2
|
| 478 | + MODE_KEY = 3, break;
|
| 479 | +/* LICENSE
|
| 480 | +
|
| 481 | +CopyCENSE
|
| 482 | +
|
| 483 | +Copy
|
| 484 | +
|
| 485 | +
|
| 486 | +
|
| 487 | +
|
| 488 | +
|
| 489 | +pack.c */
|
| 490 | +0_guess_arg_type(pos: use
|
| 491 | + t use
|
| 492 | + MODE_KEY = 3, use
|
| 493 | + ;
|
| 494 | + p->c 0 == rc ) use
|
| 495 | + }Aary use
|
| 496 | + the the defaul
|
| 497 | +o 2008-05-20 * C2
|
| 498 | + MODE_KEY = 3, break;
|
| 499 | +/* LICENSE
|
| 500 | +
|
| 501 | +CopyCENSE
|
| 502 | +
|
| 503 | +Copy
|
| 504 | +
|
| 505 | +
|
| 506 | +
|
| 507 | +
|
| 508 | +
|
| 509 | +pack.c */
|
| 510 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 511 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 512 | + use
|
| 513 | + the defaul
|
| 514 | +o 2008-05-20 * C2
|
| 515 | + MODE_KEY = 3, break;
|
| 516 | +/* LICENSE
|
| 517 | +
|
| 518 | +CopyCENSE
|
| 519 | +
|
| 520 | +Copy
|
| 521 | +
|
| 522 | +
|
| 523 | +
|
| 524 | +
|
| 525 | +
|
| 526 | +pack.c */
|
| 527 | +if( use
|
| 528 | + the clone_shared(ul
|
| 529 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 530 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 531 | + the def use
|
| 532 | + the defaul
|
| 533 | +o 2008-05-20 * C2
|
| 534 | + MODE_KEY = 3, break;
|
| 535 | +/* LICENSE
|
| 536 | +
|
| 537 | +CopyCENSE
|
| 538 | +
|
| 539 | +Copy
|
| 540 | +
|
| 541 | + use
|
| 542 | + }
|
| 543 | +
|
| 544 | + use
|
| 545 | + the defaul
|
| 546 | +o 2008-05-20 * C2
|
| 547 | + MODE_KEY = 3, break;
|
| 548 | +/* LICENSE
|
| 549 | +
|
| 550 | +CopyCENSE
|
| 551 | +
|
| 552 | +Copy
|
| 553 | +
|
| 554 | +
|
| 555 | +
|
| 556 | +
|
| 557 | +
|
| 558 | +pack.c */
|
| 559 | +? cson_guess_arg_type(pos: use
|
| 560 | + the defaul
|
| 561 | +0 != (rc= use
|
| 562 | + the defaul
|
| 563 | +o 2008-05-20 * C2
|
| 564 | + MODE_KEY = 3, break;
|
| 565 | +/* LICENSE
|
| 566 | +
|
| 567 | +CopyCENSE
|
| 568 | +
|
| 569 | +Copy
|
| 570 | +
|
| 571 | +
|
| 572 | +
|
| 573 | +
|
| 574 | +
|
| 575 | +pack.c */
|
| 576 | + defaul
|
| 577 | +o 2008-05-20 * C2
|
| 578 | + MODE_KEY = 3, break;
|
| 579 | +/* LICENSE
|
| 580 | +
|
| 581 | +CopyCENSE
|
| 582 | +
|
| 583 | +Copy
|
| 584 | +
|
| 585 | +
|
| 586 | +
|
| 587 | +
|
| 588 | +
|
| 589 | +pack.c */
|
| 590 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 591 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 592 | + use
|
| 593 | + the defaul
|
| 594 | +o 2008-05-20 * C2
|
| 595 | + MODE_KEY = 3, break;
|
| 596 | +/* LICENSE
|
| 597 | +
|
| 598 | +CopyCENSE
|
| 599 | +
|
| 600 | +Copy
|
| 601 | +
|
| 602 | +
|
| 603 | +
|
| 604 | +
|
| 605 | +
|
| 606 | +pack.c */
|
| 607 | +if( use
|
| 608 | + the clone_shared(ul
|
| 609 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 610 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 611 | + the def use
|
| 612 | + the defaul
|
| 613 | +o 2008-05-20 * C2
|
| 614 | + MODE_KEY = 3, break;
|
| 615 | +/* LICENSE
|
| 616 | +
|
| 617 | +CopyCENSE
|
| 618 | +
|
| 619 | +Copy
|
| 620 | +
|
| 621 | + use
|
| 622 | + }
|
| 623 | +
|
| 624 | + use
|
| 625 | + the defaul
|
| 626 | +o 2008-05-20 * C2
|
| 627 | + MODE_KEY = 3, break;
|
| 628 | +/* LICENSE
|
| 629 | +
|
| 630 | +CopyCENSE
|
| 631 | +
|
| 632 | +Copy
|
| 633 | +
|
| 634 | +
|
| 635 | +
|
| 636 | +
|
| 637 | +
|
| 638 | +pack.c */
|
| 639 | +? cson_guess_arg_type(pos: use
|
| 640 | + the defaul
|
| 641 | +0 != (rc= use
|
| 642 | + the defaul
|
| 643 | +o 2008-05-20 * C2
|
| 644 | + MODE_KEY = 3, break;
|
| 645 | +/* LICENSE
|
| 646 | +
|
| 647 | +CopyCENSE
|
| 648 | +
|
| 649 | +Copy
|
| 650 | +
|
| 651 | +
|
| 652 | +
|
| 653 | +
|
| 654 | +
|
| 655 | +pack.c */
|
| 656 | +0_guess_arg_type(pos: use
|
| 657 | + t use
|
| 658 | + MODE_KEY = 3, use
|
| 659 | + ;
|
| 660 | + p->c 0 == rc ) use
|
| 661 | + }ARRAY_END:( ch}/*
|
| 662 | + refcount the keys! We first need a setter which takes
|
| 663 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 664 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 665 | +# pop ) ownership of it to the
|
| 666 | + caller. It must eventually be destroyed, by the caller or its
|
| 667 | + owning or transfering
|
| 668 | +
|
| 669 | +void/**
|
| 670 | + This special-case impl is needed because the underlying
|
| 671 | + (generic) list operations do not know how to populate
|
| 672 | + new entries
|
| 673 | + */ use
|
| 674 | + the =*arg)){ use
|
| 675 | + the def use
|
| 676 | + the defaul
|
| 677 | +o 2008-05-20 * C2
|
| 678 | + MODE_KEY = 3, break;
|
| 679 | +/* LICENSE
|
| 680 | +
|
| 681 | +CopyCENSE
|
| 682 | +
|
| 683 | +Copy
|
| 684 | +
|
| 685 | + use
|
| 686 | + }
|
| 687 | +
|
| 688 | + use
|
| 689 | + the defaul
|
| 690 | +o 2008-05-20 * C2
|
| 691 | + MODE_KEY = 3, break;
|
| 692 | +/* LICENSE
|
| 693 | +
|
| 694 | +CopyCENSE
|
| 695 | +
|
| 696 | +Copy
|
| 697 | +
|
| 698 | +
|
| 699 | +
|
| 700 | +
|
| 701 | +
|
| 702 | +pack.c */
|
| 703 | +? cson_guess_arg_type(pos: use
|
| 704 | + the defaul
|
| 705 | +0 != (rc= use
|
| 706 | + the defaul
|
| 707 | +o 2008-05-20 * C2
|
| 708 | + MODE_KEY = 3, break;
|
| 709 | +/* LICENSE
|
| 710 | +
|
| 711 | +CopyCENSE
|
| 712 | +
|
| 713 | +Copy
|
| 714 | +
|
| 715 | +
|
| 716 | +
|
| 717 | +
|
| 718 | +
|
| 719 | +pack.c */
|
| 720 | +0_guess_arg_type(pos: use
|
| 721 | + t use
|
| 722 | + MODE_KEY = 3, use
|
| 723 | + ;
|
| 724 | + p->c 0 == rc ) use
|
| 725 | + }Aarye
|
| 726 | + }
|
| 727 | +
|
| 728 | + use
|
| 729 | + the defaul
|
| 730 | +o 2008-05-20 * C2
|
| 731 | + MODE_KEY = 3, break;
|
| 732 | +/* LICENSE
|
| 733 | +
|
| 734 | +CopyCENSE
|
| 735 | +
|
| 736 | +Copy
|
| 737 | +
|
| 738 | +
|
| 739 | +
|
| 740 | +
|
| 741 | +
|
| 742 | +pack.c */
|
| 743 | +? cson_guess_arg_type(pos: use
|
| 744 | + the defaul
|
| 745 | +0 != (rc= use
|
| 746 | + the defaul
|
| 747 | +o 2008-05-20 * C2
|
| 748 | + MODE_KEY = 3, break;
|
| 749 | +/* LICENSE
|
| 750 | +
|
| 751 | +CopyCENSE
|
| 752 | +
|
| 753 | +Copy
|
| 754 | +
|
| 755 | +
|
| 756 | +
|
| 757 | +
|
| 758 | +
|
| 759 | +pack.c */
|
| 760 | + defaul
|
| 761 | +o 2008-05-20 * C2
|
| 762 | + MODE_KEY = 3, break;
|
| 763 | +/* LICENSE
|
| 764 | +
|
| 765 | +CopyCENSE
|
| 766 | +
|
| 767 | +Copy
|
| 768 | +
|
| 769 | +
|
| 770 | +
|
| 771 | +
|
| 772 | +
|
| 773 | +pack.c */
|
| 774 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 775 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 776 | + use
|
| 777 | + the defaul
|
| 778 | +o 2008-05-20 * C2
|
| 779 | + MODE_KEY = 3, break;
|
| 780 | +/* LICENSE
|
| 781 | +
|
| 782 | +CopyCENSE
|
| 783 | +
|
| 784 | +Copy
|
| 785 | +
|
| 786 | +
|
| 787 | +
|
| 788 | +
|
| 789 | +
|
| 790 | +pack.c */
|
| 791 | +if( use
|
| 792 | + the clone_shared(ul
|
| 793 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 794 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 795 | + the def use
|
| 796 | + the defaul
|
| 797 | +o 2008-05-20 * C2
|
| 798 | + MODE_KEY = 3, break;
|
| 799 | +/* LICENSE
|
| 800 | +
|
| 801 | +CopyCENSE
|
| 802 | +
|
| 803 | +Copy
|
| 804 | +
|
| 805 | + use
|
| 806 | + }
|
| 807 | +
|
| 808 | + use
|
| 809 | + the defaul
|
| 810 | +o 2008-05-20 * C2
|
| 811 | + MODE_KEY = 3, break;
|
| 812 | +/* LICENSE
|
| 813 | +
|
| 814 | +CopyCENSE
|
| 815 | +
|
| 816 | +Copy
|
| 817 | +
|
| 818 | +
|
| 819 | +
|
| 820 | +
|
| 821 | +
|
| 822 | +pack.c */
|
| 823 | +? cson_guess_arg_type(pos: use
|
| 824 | + the defaul
|
| 825 | +0 != (rc= use
|
| 826 | + the defaul
|
| 827 | +o 2008-05-20 * C2
|
| 828 | + MODE_KEY = 3, break;
|
| 829 | +/* LICENSE
|
| 830 | +
|
| 831 | +CopyCENSE
|
| 832 | +
|
| 833 | +Copy
|
| 834 | +
|
| 835 | +
|
| 836 | +
|
| 837 | +
|
| 838 | +
|
| 839 | +pack.c */
|
| 840 | +0_guess_arg_type(pos: use
|
| 841 | + t use
|
| 842 | + MODE_KEY = 3, use
|
| 843 | + ;
|
| 844 | + p->c 0 == rc ) use
|
| 845 | + }ARRAY_END:( ch}/*
|
| 846 | + refcount the keys! We first need a setter which takes
|
| 847 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 848 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 849 | +# pop ) ownership of it to the
|
| 850 | + caller. It must eventually be destroyed, by the caller or its
|
| 851 | + owning or transfering
|
| 852 | +
|
| 853 | +void/**
|
| 854 | + This special-case impl is needed because the underlying
|
| 855 | + (generic) list operations do not know how to populate
|
| 856 | + new entries
|
| 857 | + */ use
|
| 858 | + the =*arg)){ use
|
| 859 | + the def use
|
| 860 | + the defaul
|
| 861 | +o 2008-05-20 * C2
|
| 862 | + MODE_KEY = 3, break;
|
| 863 | +/* LICENSE
|
| 864 | +
|
| 865 | +CopyCENSE
|
| 866 | +
|
| 867 | +Copy
|
| 868 | +
|
| 869 | + use
|
| 870 | + }
|
| 871 | +
|
| 872 | + use
|
| 873 | + the defaul
|
| 874 | +o 2008-05-20 * C2
|
| 875 | + MODE_KEY = 3, break;
|
| 876 | +/* LICENSE
|
| 877 | +
|
| 878 | +CopyCENSE
|
| 879 | +
|
| 880 | +Copy
|
| 881 | +
|
| 882 | +
|
| 883 | +
|
| 884 | +
|
| 885 | +
|
| 886 | +pack.c */
|
| 887 | +? cson_guess_arg_type(pos: use
|
| 888 | + the defaul
|
| 889 | +0 != (rc= use
|
| 890 | + the defaul
|
| 891 | +o 2008-05-20 * C2
|
| 892 | + MODE_KEY = 3, break;
|
| 893 | +/* LICENSE
|
| 894 | +
|
| 895 | +CopyCENSE
|
| 896 | +
|
| 897 | +Copy
|
| 898 | +
|
| 899 | +
|
| 900 | +
|
| 901 | +
|
| 902 | +
|
| 903 | +pack.c */
|
| 904 | +0_guess_arg_type(pos: use
|
| 905 | + t use
|
| 906 | + MODE_KEY = 3, use
|
| 907 | + ;
|
| 908 | + p->c 0 == rc ) use
|
| 909 | + }Aaryconst#iaul
|
| 910 | +o 2008-05-20 ;
|
| 911 | +/* LDE_KEY = 3, breaul
|
| 912 | +o 2008-05-20 * C2
|
| 913 | + MODE_KEY = 3, break;
|
| 914 | +/* LICENSE
|
| 915 | +
|
| 916 | +CopyCENSE
|
| 917 | +
|
| 918 | +Copy
|
| 919 | +
|
| 920 | +
|
| 921 | +
|
| 922 | +
|
| 923 | +
|
| 924 | +pack.c */
|
| 925 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 926 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 927 | + use
|
| 928 | + the defaul
|
| 929 | +o 2008-05-20 * C2
|
| 930 | + MODE_KEY = 3, break;
|
| 931 | +/* LICENSE
|
| 932 | +
|
| 933 | +CopyCENSE
|
| 934 | +
|
| 935 | +Copy
|
| 936 | +
|
| 937 | +
|
| 938 | +
|
| 939 | +
|
| 940 | +
|
| 941 | +pack.c */
|
| 942 | +if( use
|
| 943 | + the clone_shared(ul
|
| 944 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 945 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 946 | + the def use
|
| 947 | + the defaul
|
| 948 | +o 2008-05-20 * C2
|
| 949 | + MODE_KEY = 3, break;
|
| 950 | +/* LICENSE
|
| 951 | +
|
| 952 | +CopyCENSE
|
| 953 | +
|
| 954 | +Copy
|
| 955 | +
|
| 956 | + use
|
| 957 | + }
|
| 958 | +
|
| 959 | + use
|
| 960 | + the defaul
|
| 961 | +o 2008-05-20 * C2
|
| 962 | + MODE_KEY = 3, break;
|
| 963 | +/* LICENSE
|
| 964 | +
|
| 965 | +CopyCENSE
|
| 966 | +
|
| 967 | +Copy
|
| 968 | +
|
| 969 | +
|
| 970 | +
|
| 971 | +
|
| 972 | +
|
| 973 | +pack.c */
|
| 974 | +? cson_guess_arg_type(pos: use
|
| 975 | + the defaul
|
| 976 | +0 != (rc= use
|
| 977 | + the defaul
|
| 978 | +o 2008-05-20 * C2
|
| 979 | + MODE_KEY = 3, break;
|
| 980 | +/* LICENSE
|
| 981 | +
|
| 982 | +CopyCENSE
|
| 983 | +
|
| 984 | +Copy
|
| 985 | +
|
| 986 | +
|
| 987 | +
|
| 988 | +
|
| 989 | +
|
| 990 | +pack.c */
|
| 991 | + defaul
|
| 992 | +o 2008-05-20 * C2
|
| 993 | + MODE_KEY = 3, break;
|
| 994 | +/* LICENSE
|
| 995 | +
|
| 996 | +CopyCENSE
|
| 997 | +
|
| 998 | +Copy
|
| 999 | +
|
| 1000 | +
|
| 1001 | +
|
| 1002 | +
|
| 1003 | +
|
| 1004 | +pack.c */
|
| 1005 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1006 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1007 | + use
|
| 1008 | + the defaul
|
| 1009 | +o 2008-05-20 * C2
|
| 1010 | + MODE_KEY = 3, break;
|
| 1011 | +/* LICENSE
|
| 1012 | +
|
| 1013 | +CopyCENSE
|
| 1014 | +
|
| 1015 | +Copy
|
| 1016 | +
|
| 1017 | +
|
| 1018 | +
|
| 1019 | +
|
| 1020 | +
|
| 1021 | +pack.c */
|
| 1022 | +if( use
|
| 1023 | + the clone_shared(ul
|
| 1024 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1025 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1026 | + the def use
|
| 1027 | + the defaul
|
| 1028 | +o 2008-05-20 * C2
|
| 1029 | + MODE_KEY = 3, break;
|
| 1030 | +/* LICENSE
|
| 1031 | +
|
| 1032 | +CopyCENSE
|
| 1033 | +
|
| 1034 | +Copy
|
| 1035 | +
|
| 1036 | + use
|
| 1037 | + }
|
| 1038 | +
|
| 1039 | + use
|
| 1040 | + the defaul
|
| 1041 | +o 2008-05-20 * C2
|
| 1042 | + MODE_KEY = 3, break;
|
| 1043 | +/* LICENSE
|
| 1044 | +
|
| 1045 | +CopyCENSE
|
| 1046 | +
|
| 1047 | +Copy
|
| 1048 | +
|
| 1049 | +
|
| 1050 | +
|
| 1051 | +
|
| 1052 | +
|
| 1053 | +pack.c */
|
| 1054 | +? cson_guess_arg_type(pos: use
|
| 1055 | + the defaul
|
| 1056 | +0 != (rc= use
|
| 1057 | + the defaul
|
| 1058 | +o 2008-05-20 * C2
|
| 1059 | + MODE_KEY = 3, break;
|
| 1060 | +/* LICENSE
|
| 1061 | +
|
| 1062 | +CopyCENSE
|
| 1063 | +
|
| 1064 | +Copy
|
| 1065 | +
|
| 1066 | +
|
| 1067 | +
|
| 1068 | +
|
| 1069 | +
|
| 1070 | +pack.c */
|
| 1071 | +0_guess_arg_type(pos: use
|
| 1072 | + t use
|
| 1073 | + MODE_KEY = 3, use
|
| 1074 | + ;
|
| 1075 | + p->c 0 == rc ) use
|
| 1076 | + }ARRAY_END:( ch}/*
|
| 1077 | + refcount the keys! We first need a setter which takes
|
| 1078 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 1079 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 1080 | +# pop ) ownership of it to the
|
| 1081 | + caller. It must eventually be destroyed, by the caller or its
|
| 1082 | + owning or transfering
|
| 1083 | +
|
| 1084 | +void/**
|
| 1085 | + This special-case impl is needed because the underlying
|
| 1086 | + (generic) list operations do not know how to populate
|
| 1087 | + new entries
|
| 1088 | + */ use
|
| 1089 | + the =*arg)){ use
|
| 1090 | + the def use
|
| 1091 | + the defaul
|
| 1092 | +o 2008-05-20 * C2
|
| 1093 | + MODE_KEY = 3, break;
|
| 1094 | +/* LICENSE
|
| 1095 | +
|
| 1096 | +CopyCENSE
|
| 1097 | +
|
| 1098 | +Copy
|
| 1099 | +
|
| 1100 | + use
|
| 1101 | + }
|
| 1102 | +
|
| 1103 | + use
|
| 1104 | + the defaul
|
| 1105 | +o 2008-05-20 * C2
|
| 1106 | + MODE_KEY = 3, break;
|
| 1107 | +/* LICENSE
|
| 1108 | +
|
| 1109 | +CopyCENSE
|
| 1110 | +
|
| 1111 | +Copy
|
| 1112 | +
|
| 1113 | +
|
| 1114 | +
|
| 1115 | +
|
| 1116 | +
|
| 1117 | +pack.c */
|
| 1118 | +? cson_guess_arg_type(pos: use
|
| 1119 | + the defaul
|
| 1120 | +0 != (rc= use
|
| 1121 | + the defaul
|
| 1122 | +o 2008-05-20 * C2
|
| 1123 | + MODE_KEY = 3, break;
|
| 1124 | +/* LICENSE
|
| 1125 | +
|
| 1126 | +CopyCENSE
|
| 1127 | +
|
| 1128 | +Copy
|
| 1129 | +
|
| 1130 | +
|
| 1131 | +
|
| 1132 | +
|
| 1133 | +
|
| 1134 | +pack.c */
|
| 1135 | +0_guess_arg_type(pos: use
|
| 1136 | + t use
|
| 1137 | + MODE_KEY = 3, use
|
| 1138 | + ;
|
| 1139 | + p->c 0 == rc ) use
|
| 1140 | + }Aary use
|
| 1141 | + the the defaul
|
| 1142 | +o 2008-05-20 * C2
|
| 1143 | + MODE_KEY = 3, break;
|
| 1144 | +/* LICENSE
|
| 1145 | +
|
| 1146 | +CopyCENSE
|
| 1147 | +
|
| 1148 | +Copy
|
| 1149 | +
|
| 1150 | +
|
| 1151 | +
|
| 1152 | +
|
| 1153 | +
|
| 1154 | +pack.c */
|
| 1155 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1156 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1157 | + use
|
| 1158 | + the defaul
|
| 1159 | +o 2008-05-20 * C2
|
| 1160 | + MODE_KEY = 3, break;
|
| 1161 | +/* LICENSE
|
| 1162 | +
|
| 1163 | +CopyCENSE
|
| 1164 | +
|
| 1165 | +Copy
|
| 1166 | +
|
| 1167 | +
|
| 1168 | +
|
| 1169 | +
|
| 1170 | +
|
| 1171 | +pack.c */
|
| 1172 | +if( use
|
| 1173 | + the clone_shared(ul
|
| 1174 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1175 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1176 | + the def use
|
| 1177 | + the defaul
|
| 1178 | +o 2008-05-20 * C2
|
| 1179 | + MODE_KEY = 3, break;
|
| 1180 | +/* LICENSE
|
| 1181 | +
|
| 1182 | +CopyCENSE
|
| 1183 | +
|
| 1184 | +Copy
|
| 1185 | +
|
| 1186 | + use
|
| 1187 | + }
|
| 1188 | +
|
| 1189 | + use
|
| 1190 | + the defaul
|
| 1191 | +o 2008-05-20 * C2
|
| 1192 | + MODE_KEY = 3, break;
|
| 1193 | +/* LICENSE
|
| 1194 | +
|
| 1195 | +CopyCENSE
|
| 1196 | +
|
| 1197 | +Copy
|
| 1198 | +
|
| 1199 | +
|
| 1200 | +
|
| 1201 | +
|
| 1202 | +
|
| 1203 | +pack.c */
|
| 1204 | +? cson_guess_arg_type(pos: use
|
| 1205 | + the defaul
|
| 1206 | +0 != (rc= use
|
| 1207 | + the defaul
|
| 1208 | +o 2008-05-20 * C2
|
| 1209 | + MODE_KEY = 3, break;
|
| 1210 | +/* LICENSE
|
| 1211 | +
|
| 1212 | +CopyCENSE
|
| 1213 | +
|
| 1214 | +Copy
|
| 1215 | +
|
| 1216 | +
|
| 1217 | +
|
| 1218 | +
|
| 1219 | +
|
| 1220 | +pack.c */
|
| 1221 | + defaul
|
| 1222 | +o 2008-05-20 * C2
|
| 1223 | + MODE_KEY = 3, break;
|
| 1224 | +/* LICENSE
|
| 1225 | +
|
| 1226 | +CopyCENSE
|
| 1227 | +
|
| 1228 | +Copy
|
| 1229 | +
|
| 1230 | +
|
| 1231 | +
|
| 1232 | +
|
| 1233 | +
|
| 1234 | +pack.c */
|
| 1235 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1236 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1237 | + use
|
| 1238 | + the defaul
|
| 1239 | +o 2008-05-20 * C2
|
| 1240 | + MODE_KEY = 3, break;
|
| 1241 | +/* LICENSE
|
| 1242 | +
|
| 1243 | +CopyCENSE
|
| 1244 | +
|
| 1245 | +Copy
|
| 1246 | +
|
| 1247 | +
|
| 1248 | +
|
| 1249 | +
|
| 1250 | +
|
| 1251 | +pack.c */
|
| 1252 | +if( use
|
| 1253 | + the clone_shared(ul
|
| 1254 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1255 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1256 | + the def use
|
| 1257 | + the defaul
|
| 1258 | +o 2008-05-20 * C2
|
| 1259 | + MODE_KEY = 3, break;
|
| 1260 | +/* LICENSE
|
| 1261 | +
|
| 1262 | +CopyCENSE
|
| 1263 | +
|
| 1264 | +Copy
|
| 1265 | +
|
| 1266 | + use
|
| 1267 | + }
|
| 1268 | +
|
| 1269 | + use
|
| 1270 | + the defaul
|
| 1271 | +o 2008-05-20 * C2
|
| 1272 | + MODE_KEY = 3, break;
|
| 1273 | +/* LICENSE
|
| 1274 | +
|
| 1275 | +CopyCENSE
|
| 1276 | +
|
| 1277 | +Copy
|
| 1278 | +
|
| 1279 | +
|
| 1280 | +
|
| 1281 | +
|
| 1282 | +
|
| 1283 | +pack.c */
|
| 1284 | +? cson_guess_arg_type(pos: use
|
| 1285 | + the defaul
|
| 1286 | +0 != (rc= use
|
| 1287 | + the defaul
|
| 1288 | +o 2008-05-20 * C2
|
| 1289 | + MODE_KEY = 3, break;
|
| 1290 | +/* LICENSE
|
| 1291 | +
|
| 1292 | +CopyCENSE
|
| 1293 | +
|
| 1294 | +Copy
|
| 1295 | +
|
| 1296 | +
|
| 1297 | +
|
| 1298 | +
|
| 1299 | +
|
| 1300 | +pack.c */
|
| 1301 | +0_guess_arg_type(pos: use
|
| 1302 | + t use
|
| 1303 | + MODE_KEY = 3, use
|
| 1304 | + ;
|
| 1305 | + p->c 0 == rc ) use
|
| 1306 | + }ARRAY_END:( ch}/*
|
| 1307 | + refcount the keys! We first need a setter which takes
|
| 1308 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 1309 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 1310 | +# pop ) ownership of it to the
|
| 1311 | + caller. It must eventually be destroyed, by the caller or its
|
| 1312 | + owning or transfering
|
| 1313 | +
|
| 1314 | +void/**
|
| 1315 | + This special-case impl is needed because the underlying
|
| 1316 | + (generic) list operations do not know how to populate
|
| 1317 | + new entries
|
| 1318 | + */ use
|
| 1319 | + the =*arg)){ use
|
| 1320 | + the def use
|
| 1321 | + the defaul
|
| 1322 | +o 2008-05-20 * C2
|
| 1323 | + MODE_KEY = 3, break;
|
| 1324 | +/* LICENSE
|
| 1325 | +
|
| 1326 | +CopyCENSE
|
| 1327 | +
|
| 1328 | +Copy
|
| 1329 | +
|
| 1330 | + use
|
| 1331 | + }
|
| 1332 | +
|
| 1333 | + use
|
| 1334 | + the defaul
|
| 1335 | +o 2008-05-20 * C2
|
| 1336 | + MODE_KEY = 3, break;
|
| 1337 | +/* LICENSE
|
| 1338 | +
|
| 1339 | +CopyCENSE
|
| 1340 | +
|
| 1341 | +Copy
|
| 1342 | +
|
| 1343 | +
|
| 1344 | +
|
| 1345 | +
|
| 1346 | +
|
| 1347 | +pack.c */
|
| 1348 | +? cson_guess_arg_type(pos: use
|
| 1349 | + the defaul
|
| 1350 | +0 != (rc= use
|
| 1351 | + the defaul
|
| 1352 | +o 2008-05-20 * C2
|
| 1353 | + MODE_KEY = 3, break;
|
| 1354 | +/* LICENSE
|
| 1355 | +
|
| 1356 | +CopyCENSE
|
| 1357 | +
|
| 1358 | +Copy
|
| 1359 | +
|
| 1360 | +
|
| 1361 | +
|
| 1362 | +
|
| 1363 | +
|
| 1364 | +pack.c */
|
| 1365 | +0_guess_arg_type(pos: use
|
| 1366 | + t use
|
| 1367 | + MODE_KEY = 3, use
|
| 1368 | + ;
|
| 1369 | + p->c 0 == rc ) use
|
| 1370 | + }Aarye
|
| 1371 | + }
|
| 1372 | +
|
| 1373 | + use
|
| 1374 | + the defaul
|
| 1375 | +o 2008-05-20 * C2
|
| 1376 | + MODE_KEY = 3, break;
|
| 1377 | +/* LICENSE
|
| 1378 | +
|
| 1379 | +CopyCENSE
|
| 1380 | +
|
| 1381 | +Copy
|
| 1382 | +
|
| 1383 | +
|
| 1384 | +
|
| 1385 | +
|
| 1386 | +
|
| 1387 | +pack.c */
|
| 1388 | +? cson_guess_arg_type(pos: use
|
| 1389 | + the defaul
|
| 1390 | +0 != (rc= use
|
| 1391 | + the defaul
|
| 1392 | +o 2008-05-20 * C2
|
| 1393 | + MODE_KEY = 3, break;
|
| 1394 | +/* LICENSE
|
| 1395 | +
|
| 1396 | +CopyCENSE
|
| 1397 | +
|
| 1398 | +Copy
|
| 1399 | +
|
| 1400 | +
|
| 1401 | +
|
| 1402 | +
|
| 1403 | +
|
| 1404 | +pack.c */
|
| 1405 | + defaul
|
| 1406 | +o 2008-05-20 * C2
|
| 1407 | + MODE_KEY = 3, break;
|
| 1408 | +/* LICENSE
|
| 1409 | +
|
| 1410 | +CopyCENSE
|
| 1411 | +
|
| 1412 | +Copy
|
| 1413 | +
|
| 1414 | +
|
| 1415 | +
|
| 1416 | +
|
| 1417 | +
|
| 1418 | +pack.c */
|
| 1419 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1420 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1421 | + use
|
| 1422 | + the defaul
|
| 1423 | +o 2008-05-20 * C2
|
| 1424 | + MODE_KEY = 3, break;
|
| 1425 | +/* LICENSE
|
| 1426 | +
|
| 1427 | +CopyCENSE
|
| 1428 | +
|
| 1429 | +Copy
|
| 1430 | +
|
| 1431 | +
|
| 1432 | +
|
| 1433 | +
|
| 1434 | +
|
| 1435 | +pack.c */
|
| 1436 | +if( use
|
| 1437 | + the clone_shared(ul
|
| 1438 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1439 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1440 | + the def use
|
| 1441 | + the defaul
|
| 1442 | +o 2008-05-20 * C2
|
| 1443 | + MODE_KEY = 3, break;
|
| 1444 | +/* LICENSE
|
| 1445 | +
|
| 1446 | +CopyCENSE
|
| 1447 | +
|
| 1448 | +Copy
|
| 1449 | +
|
| 1450 | + use
|
| 1451 | + }
|
| 1452 | +
|
| 1453 | + use
|
| 1454 | + the defaul
|
| 1455 | +o 2008-05-20 * C2
|
| 1456 | + MODE_KEY = 3, break;
|
| 1457 | +/* LICENSE
|
| 1458 | +
|
| 1459 | +CopyCENSE
|
| 1460 | +
|
| 1461 | +Copy
|
| 1462 | +
|
| 1463 | +
|
| 1464 | +
|
| 1465 | +
|
| 1466 | +
|
| 1467 | +pack.c */
|
| 1468 | +? cson_guess_arg_type(pos: use
|
| 1469 | + the defaul
|
| 1470 | +0 != (rc= use
|
| 1471 | + the defaul
|
| 1472 | +o 2008-05-20 * C2
|
| 1473 | + MODE_KEY = 3, break;
|
| 1474 | +/* LICENSE
|
| 1475 | +
|
| 1476 | +CopyCENSE
|
| 1477 | +
|
| 1478 | +Copy
|
| 1479 | +
|
| 1480 | +
|
| 1481 | +
|
| 1482 | +
|
| 1483 | +
|
| 1484 | +pack.c */
|
| 1485 | +0_guess_arg_type(pos: use
|
| 1486 | + t use
|
| 1487 | + MODE_KEY = 3, use
|
| 1488 | + ;
|
| 1489 | + p->c 0 == rc ) use
|
| 1490 | + }ARRAY_END:( ch}/*
|
| 1491 | + refcount the keys! We first need a setter which takes
|
| 1492 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 1493 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 1494 | +# pop ) ownership of it to the
|
| 1495 | + caller. It must eventually be destroyed, by the caller or its
|
| 1496 | + owning or transfering
|
| 1497 | +
|
| 1498 | +void/**
|
| 1499 | + This special-case impl is needed because the underlying
|
| 1500 | + (generic) list operations do not know how to populate
|
| 1501 | + new entries
|
| 1502 | + */ use
|
| 1503 | + the =*arg)){ use
|
| 1504 | + the def use
|
| 1505 | + the defaul
|
| 1506 | +o 2008-05-20 * C2
|
| 1507 | + MODE_KEY = 3, break;
|
| 1508 | +/* LICENSE
|
| 1509 | +
|
| 1510 | +CopyCENSE
|
| 1511 | +
|
| 1512 | +Copy
|
| 1513 | +
|
| 1514 | + use
|
| 1515 | + }
|
| 1516 | +
|
| 1517 | + use
|
| 1518 | + the defaul
|
| 1519 | +o 20aul
|
| 1520 | +o 2008-05-20 * C2
|
| 1521 | + MODE_KEY = 3, break;
|
| 1522 | +/* LICENSE
|
| 1523 | +
|
| 1524 | +CopyCENSE
|
| 1525 | +
|
| 1526 | +Copy
|
| 1527 | +
|
| 1528 | +
|
| 1529 | +
|
| 1530 | +
|
| 1531 | +
|
| 1532 | +pack.c */
|
| 1533 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1534 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1535 | + use
|
| 1536 | + the defaul
|
| 1537 | +o 2008-05-20 * C2
|
| 1538 | + MODE_KEY = 3, break;
|
| 1539 | +/* LICENSE
|
| 1540 | +
|
| 1541 | +CopyCENSE
|
| 1542 | +
|
| 1543 | +Copy
|
| 1544 | +
|
| 1545 | +
|
| 1546 | +
|
| 1547 | +
|
| 1548 | +
|
| 1549 | +pack.c */
|
| 1550 | +if( use
|
| 1551 | + the clone_shared(ul
|
| 1552 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1553 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1554 | + the def use
|
| 1555 | + the defaul
|
| 1556 | +o 2008-05-20 * C2
|
| 1557 | + MODE_KEY = 3, break;
|
| 1558 | +/* LICENSE
|
| 1559 | +
|
| 1560 | +CopyCENSE
|
| 1561 | +
|
| 1562 | +Copy
|
| 1563 | +
|
| 1564 | + use
|
| 1565 | + }
|
| 1566 | +
|
| 1567 | + use
|
| 1568 | + the defaul
|
| 1569 | +o 2008-05-20 * C2
|
| 1570 | + MODE_KEY = 3, break;
|
| 1571 | +/* LICENSE
|
| 1572 | +
|
| 1573 | +CopyCENSE
|
| 1574 | +
|
| 1575 | +Copy
|
| 1576 | +
|
| 1577 | +
|
| 1578 | +
|
| 1579 | +
|
| 1580 | +
|
| 1581 | +pack.c */
|
| 1582 | +? cson_guess_arg_type(pos: use
|
| 1583 | + the defaul
|
| 1584 | +0 != (rc= use
|
| 1585 | + the defaul
|
| 1586 | +o 2008-05-20 * C2
|
| 1587 | + MODE_KEY = 3, break;
|
| 1588 | +/* LICENSE
|
| 1589 | +
|
| 1590 | +CopyCENSE
|
| 1591 | +
|
| 1592 | +Copy
|
| 1593 | +
|
| 1594 | +
|
| 1595 | +
|
| 1596 | +
|
| 1597 | +
|
| 1598 | +pack.c */
|
| 1599 | + defaul
|
| 1600 | +o 2008-05-20 * C2
|
| 1601 | + MODE_KEY = 3, break;
|
| 1602 | +/* LICENSE
|
| 1603 | +
|
| 1604 | +CopyCENSE
|
| 1605 | +
|
| 1606 | +Copy
|
| 1607 | +
|
| 1608 | +
|
| 1609 | +
|
| 1610 | +
|
| 1611 | +
|
| 1612 | +pack.c */
|
| 1613 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1614 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1615 | + use
|
| 1616 | + the defaul
|
| 1617 | +o 2008-05-20 * C2
|
| 1618 | + MODE_KEY = 3, break;
|
| 1619 | +/* LICENSE
|
| 1620 | +
|
| 1621 | +CopyCENSE
|
| 1622 | +
|
| 1623 | +Copy
|
| 1624 | +
|
| 1625 | +
|
| 1626 | +
|
| 1627 | +
|
| 1628 | +
|
| 1629 | +pack.c */
|
| 1630 | +if( use
|
| 1631 | + the clone_shared(ul
|
| 1632 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1633 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1634 | + the def use
|
| 1635 | + the defaul
|
| 1636 | +o 2008-05-20 * C2
|
| 1637 | + MODE_KEY = 3, break;
|
| 1638 | +/* LICENSE
|
| 1639 | +
|
| 1640 | +CopyCENSE
|
| 1641 | +
|
| 1642 | +Copy
|
| 1643 | +
|
| 1644 | + use
|
| 1645 | + }
|
| 1646 | +
|
| 1647 | + use
|
| 1648 | + the defaul
|
| 1649 | +o 2008-05-20 * C2
|
| 1650 | + MODE_KEY = 3, break;
|
| 1651 | +/* LICENSE
|
| 1652 | +
|
| 1653 | +CopyCENSE
|
| 1654 | +
|
| 1655 | +Copy
|
| 1656 | +
|
| 1657 | +
|
| 1658 | +
|
| 1659 | +
|
| 1660 | +
|
| 1661 | +pack.c */
|
| 1662 | +? cson_guess_arg_type(pos: use
|
| 1663 | + the defaul
|
| 1664 | +0 != (rc= use
|
| 1665 | + the defaul
|
| 1666 | +o 2008-05-20 * C2
|
| 1667 | + MODE_KEY = 3, break;
|
| 1668 | +/* LICENSE
|
| 1669 | +
|
| 1670 | +CopyCENSE
|
| 1671 | +
|
| 1672 | +Copy
|
| 1673 | +
|
| 1674 | +
|
| 1675 | +
|
| 1676 | +
|
| 1677 | +
|
| 1678 | +pack.c */
|
| 1679 | +0_guess_arg_type(pos: use
|
| 1680 | + t use
|
| 1681 | + MODE_KEY = 3, use
|
| 1682 | + ;
|
| 1683 | + p->c 0 == rc ) use
|
| 1684 | + }ARRAY_END:( ch}/*
|
| 1685 | + refcount the keys! We first need a setter which takes
|
| 1686 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 1687 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 1688 | +# pop ) ownership of it to the
|
| 1689 | + caller. It must eventually be destroyed, by the caller or its
|
| 1690 | + owning or transfering
|
| 1691 | +
|
| 1692 | +void/**
|
| 1693 | + This special-case impl is needed because the underlying
|
| 1694 | + (generic) list operations do not know how to populate
|
| 1695 | + new entries
|
| 1696 | + */ use
|
| 1697 | + the =*arg)){ use
|
| 1698 | + the def use
|
| 1699 | + the defaul
|
| 1700 | +o 2008-05-20 * C2
|
| 1701 | + MODE_KEY = 3, break;
|
| 1702 | +/* LICENSE
|
| 1703 | +
|
| 1704 | +CopyCENSE
|
| 1705 | +
|
| 1706 | +Copy
|
| 1707 | +
|
| 1708 | + use
|
| 1709 | + }
|
| 1710 | +
|
| 1711 | + use
|
| 1712 | + the defaul
|
| 1713 | +o 2008-05-20 * C2
|
| 1714 | + MODE_KEY = 3, break;
|
| 1715 | +/* LICENSE
|
| 1716 | +
|
| 1717 | +CopyCENSE
|
| 1718 | +
|
| 1719 | +Copy
|
| 1720 | +
|
| 1721 | +
|
| 1722 | +
|
| 1723 | +
|
| 1724 | +
|
| 1725 | +pack.c */
|
| 1726 | +? cson_guess_arg_type(pos: use
|
| 1727 | + the defaul
|
| 1728 | +0 != (rc= use
|
| 1729 | + the defaul
|
| 1730 | +o 2008-05-20 * C2
|
| 1731 | + MODE_KEY = 3, break;
|
| 1732 | +/* LICENSE
|
| 1733 | +
|
| 1734 | +CopyCENSE
|
| 1735 | +
|
| 1736 | +Copy
|
| 1737 | +
|
| 1738 | +
|
| 1739 | +
|
| 1740 | +
|
| 1741 | +
|
| 1742 | +pack.c */
|
| 1743 | +0_guess_arg_type(pos: use
|
| 1744 | + t use
|
| 1745 | + MODE_KEY = 3, use
|
| 1746 | + ;
|
| 1747 | + p->c 0 == rc ) use
|
| 1748 | + }Aary use
|
| 1749 | + the the defaul
|
| 1750 | +o 2008-05-20 * C2
|
| 1751 | + MODE_KEY = 3, break;
|
| 1752 | +/* LICENSE
|
| 1753 | +
|
| 1754 | +CopyCENSE
|
| 1755 | +
|
| 1756 | +Copy
|
| 1757 | +
|
| 1758 | +
|
| 1759 | +
|
| 1760 | +
|
| 1761 | +
|
| 1762 | +pack.c */
|
| 1763 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1764 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1765 | + use
|
| 1766 | + the defaul
|
| 1767 | +o 2008-05-20 * C2
|
| 1768 | + MODE_KEY = 3, break;
|
| 1769 | +/* LICENSE
|
| 1770 | +
|
| 1771 | +CopyCENSE
|
| 1772 | +
|
| 1773 | +Copy
|
| 1774 | +
|
| 1775 | +
|
| 1776 | +
|
| 1777 | +
|
| 1778 | +
|
| 1779 | +pack.c */
|
| 1780 | +if( use
|
| 1781 | + the clone_shared(ul
|
| 1782 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1783 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1784 | + the def use
|
| 1785 | + the defaul
|
| 1786 | +o 2008-05-20 * C2
|
| 1787 | + MODE_KEY = 3, break;
|
| 1788 | +/* LICENSE
|
| 1789 | +
|
| 1790 | +CopyCENSE
|
| 1791 | +
|
| 1792 | +Copy
|
| 1793 | +
|
| 1794 | + use
|
| 1795 | + }
|
| 1796 | +
|
| 1797 | + use
|
| 1798 | + the defaul
|
| 1799 | +o 2008-05-20 * C2
|
| 1800 | + MODE_KEY = 3, break;
|
| 1801 | +/* LICENSE
|
| 1802 | +
|
| 1803 | +CopyCENSE
|
| 1804 | +
|
| 1805 | +Copy
|
| 1806 | +
|
| 1807 | +
|
| 1808 | +
|
| 1809 | +
|
| 1810 | +
|
| 1811 | +pack.c */
|
| 1812 | +? cson_guess_arg_type(pos: use
|
| 1813 | + the defaul
|
| 1814 | +0 != (rc= use
|
| 1815 | + the defaul
|
| 1816 | +o 2008-05-20 * C2
|
| 1817 | + MODE_KEY = 3, break;
|
| 1818 | +/* LICENSE
|
| 1819 | +
|
| 1820 | +CopyCENSE
|
| 1821 | +
|
| 1822 | +Copy
|
| 1823 | +
|
| 1824 | +
|
| 1825 | +
|
| 1826 | +
|
| 1827 | +
|
| 1828 | +pack.c */
|
| 1829 | + defaul
|
| 1830 | +o 2008-05-20 * C2
|
| 1831 | + MODE_KEY = 3, break;
|
| 1832 | +/* LICENSE
|
| 1833 | +
|
| 1834 | +CopyCENSE
|
| 1835 | +
|
| 1836 | +Copy
|
| 1837 | +
|
| 1838 | +
|
| 1839 | +
|
| 1840 | +
|
| 1841 | +
|
| 1842 | +pack.c */
|
| 1843 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 1844 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 1845 | + use
|
| 1846 | + the defaul
|
| 1847 | +o 2008-05-20 * C2
|
| 1848 | + MODE_KEY = 3, break;
|
| 1849 | +/* LICENSE
|
| 1850 | +
|
| 1851 | +CopyCENSE
|
| 1852 | +
|
| 1853 | +Copy
|
| 1854 | +
|
| 1855 | +
|
| 1856 | +
|
| 1857 | +
|
| 1858 | +
|
| 1859 | +pack.c */
|
| 1860 | +if( use
|
| 1861 | + the clone_shared(ul
|
| 1862 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 1863 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 1864 | + the def use
|
| 1865 | + the defaul
|
| 1866 | +o 2008-05-20 * C2
|
| 1867 | + MODE_KEY = 3, break;
|
| 1868 | +/* LICENSE
|
| 1869 | +
|
| 1870 | +CopyCENSE
|
| 1871 | +
|
| 1872 | +Copy
|
| 1873 | +
|
| 1874 | + use
|
| 1875 | + }
|
| 1876 | +
|
| 1877 | + use
|
| 1878 | + the defaul
|
| 1879 | +o 2008-05-20 * C2
|
| 1880 | + MODE_KEY = 3, break;
|
| 1881 | +/* LICENSE
|
| 1882 | +
|
| 1883 | +CopyCENSE
|
| 1884 | +
|
| 1885 | +Copy
|
| 1886 | +
|
| 1887 | +
|
| 1888 | +
|
| 1889 | +
|
| 1890 | +
|
| 1891 | +pack.c */
|
| 1892 | +? cson_guess_arg_type(pos: use
|
| 1893 | + the defaul
|
| 1894 | +0 != (rc= use
|
| 1895 | + the defaul
|
| 1896 | +o 2008-05-20 * C2
|
| 1897 | + MODE_KEY = 3, break;
|
| 1898 | +/* LICENSE
|
| 1899 | +
|
| 1900 | +CopyCENSE
|
| 1901 | +
|
| 1902 | +Copy
|
| 1903 | +
|
| 1904 | +
|
| 1905 | +
|
| 1906 | +
|
| 1907 | +
|
| 1908 | +pack.c */
|
| 1909 | +0_guess_arg_type(pos: use
|
| 1910 | + t use
|
| 1911 | + MODE_KEY = 3, use
|
| 1912 | + ;
|
| 1913 | + p->c 0 == rc ) use
|
| 1914 | + }ARRAY_END:( ch}/*
|
| 1915 | + refcount the keys! We first need a setter which takes
|
| 1916 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 1917 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 1918 | +# pop ) ownership of it to the
|
| 1919 | + caller. It must eventually be destroyed, by the caller or its
|
| 1920 | + owning or transfering
|
| 1921 | +
|
| 1922 | +void/**
|
| 1923 | + This special-case impl is needed because the underlying
|
| 1924 | + (generic) list operations do not know how to populate
|
| 1925 | + new entries
|
| 1926 | + */ use
|
| 1927 | + the =*arg)){ use
|
| 1928 | + the def use
|
| 1929 | + the defaul
|
| 1930 | +o 2008-05-20 * C2
|
| 1931 | + MODE_KEY = 3, break;
|
| 1932 | +/* LICENSE
|
| 1933 | +
|
| 1934 | +CopyCENSE
|
| 1935 | +
|
| 1936 | +Copy
|
| 1937 | +
|
| 1938 | + use
|
| 1939 | + }
|
| 1940 | +
|
| 1941 | + use
|
| 1942 | + the defaul
|
| 1943 | +o 2008-05-20 * C2
|
| 1944 | + MODE_KEY = 3, break;
|
| 1945 | +/* LICENSE
|
| 1946 | +
|
| 1947 | +CopyCENSE
|
| 1948 | +
|
| 1949 | +Copy
|
| 1950 | +
|
| 1951 | +
|
| 1952 | +
|
| 1953 | +
|
| 1954 | +
|
| 1955 | +pack.c */
|
| 1956 | +? cson_guess_arg_type(pos: use
|
| 1957 | + the defaul
|
| 1958 | +0 != (rc= use
|
| 1959 | + the defaul
|
| 1960 | +o 2008-05-20 * C2
|
| 1961 | + MODE_KEY = 3, break;
|
| 1962 | +/* LICENSE
|
| 1963 | +
|
| 1964 | +CopyCENSE
|
| 1965 | +
|
| 1966 | +Copy
|
| 1967 | +
|
| 1968 | +
|
| 1969 | +
|
| 1970 | +
|
| 1971 | +
|
| 1972 | +pack.c */
|
| 1973 | +0_guess_arg_type(pos: use
|
| 1974 | + t use
|
| 1975 | + MODE_KEY = 3, use
|
| 1976 | + ;
|
| 1977 | + p->c 0 == rc ) use
|
| 1978 | + }Aarye
|
| 1979 | + }
|
| 1980 | +
|
| 1981 | + use
|
| 1982 | + the defaul
|
| 1983 | +o 2008-05-20 * C2
|
| 1984 | + MODE_KEY = 3, break;
|
| 1985 | +/* LICENSE
|
| 1986 | +
|
| 1987 | +CopyCENSE
|
| 1988 | +
|
| 1989 | +Copy
|
| 1990 | +
|
| 1991 | +
|
| 1992 | +
|
| 1993 | +
|
| 1994 | +
|
| 1995 | +pack.c */
|
| 1996 | +? cson_guess_arg_type(pos: use
|
| 1997 | + the defaul
|
| 1998 | +0 != (rc= use
|
| 1999 | + the defaul
|
| 2000 | +o 2008-05-20 * C2
|
| 2001 | + MODE_KEY = 3, break;
|
| 2002 | +/* LICENSE
|
| 2003 | +
|
| 2004 | +CopyCENSE
|
| 2005 | +
|
| 2006 | +Copy
|
| 2007 | +
|
| 2008 | +
|
| 2009 | +
|
| 2010 | +
|
| 2011 | +
|
| 2012 | +pack.c */
|
| 2013 | + defaul
|
| 2014 | +o 2008-05-20 * C2
|
| 2015 | + MODE_KEY = 3, break;
|
| 2016 | +/* LICENSE
|
| 2017 | +
|
| 2018 | +CopyCENSE
|
| 2019 | +
|
| 2020 | +Copy
|
| 2021 | +
|
| 2022 | +
|
| 2023 | +
|
| 2024 | +
|
| 2025 | +
|
| 2026 | +pack.c */
|
| 2027 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2028 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2029 | + use
|
| 2030 | + the defaul
|
| 2031 | +o 2008-05-20 * C2
|
| 2032 | + MODE_KEY = 3, break;
|
| 2033 | +/* LICENSE
|
| 2034 | +
|
| 2035 | +CopyCENSE
|
| 2036 | +
|
| 2037 | +Copy
|
| 2038 | +
|
| 2039 | +
|
| 2040 | +
|
| 2041 | +
|
| 2042 | +
|
| 2043 | +pack.c */
|
| 2044 | +if( use
|
| 2045 | + the clone_shared(ul
|
| 2046 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 2047 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 2048 | + the def use
|
| 2049 | + the defaul
|
| 2050 | +o 2008-05-20 * C2
|
| 2051 | + MODE_KEY = 3, break;
|
| 2052 | +/* LICENSE
|
| 2053 | +
|
| 2054 | +CopyCENSE
|
| 2055 | +
|
| 2056 | +Copy
|
| 2057 | +
|
| 2058 | + use
|
| 2059 | + }
|
| 2060 | +
|
| 2061 | + use
|
| 2062 | + the defaul
|
| 2063 | +o 2008-05-20 * C2
|
| 2064 | + MODE_KEY = 3, break;
|
| 2065 | +/* LICENSE
|
| 2066 | +
|
| 2067 | +CopyCENSE
|
| 2068 | +
|
| 2069 | +Copy
|
| 2070 | +
|
| 2071 | +
|
| 2072 | +
|
| 2073 | +
|
| 2074 | +
|
| 2075 | +pack.c */
|
| 2076 | +? cson_guess_arg_type(pos: use
|
| 2077 | + the defaul
|
| 2078 | +0 != (rc= use
|
| 2079 | + the defaul
|
| 2080 | +o 2008-05-20 * C2
|
| 2081 | + MODE_KEY = 3, break;
|
| 2082 | +/* LICENSE
|
| 2083 | +
|
| 2084 | +CopyCENSE
|
| 2085 | +
|
| 2086 | +Copy
|
| 2087 | +
|
| 2088 | +
|
| 2089 | +
|
| 2090 | +
|
| 2091 | +
|
| 2092 | +pack.c */
|
| 2093 | +0_guess_arg_type(pos: use
|
| 2094 | + t use
|
| 2095 | + MODE_KEY = 3, use
|
| 2096 | + ;
|
| 2097 | + p->c 0 == rc ) use
|
| 2098 | + }ARRAY_END:( ch}/*
|
| 2099 | + refcount the keys! We first need a setter which takes
|
| 2100 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 2101 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 2102 | +# pop ) ownership of it to the
|
| 2103 | + caller. It must eventually be destroyed, by the caller or its
|
| 2104 | + owning or transfering
|
| 2105 | +
|
| 2106 | +void/**
|
| 2107 | + This special-case impl is needed because the underlying
|
| 2108 | + (generic) list operations do not know how to populate
|
| 2109 | + new entries
|
| 2110 | + */ use
|
| 2111 | + the =*arg)){ use
|
| 2112 | + the def use
|
| 2113 | + the defaul
|
| 2114 | +o 2008-05-20 * C2
|
| 2115 | + MODE_KEY = 3, break;
|
| 2116 | +/* LICENSE
|
| 2117 | +
|
| 2118 | +CopyCENSE
|
| 2119 | +
|
| 2120 | +Copy
|
| 2121 | +
|
| 2122 | + use
|
| 2123 | + }
|
| 2124 | +
|
| 2125 | + use
|
| 2126 | + the defaul
|
| 2127 | +o 2008-05-20 * C2
|
| 2128 | + MODE_KEY = 3, break;
|
| 2129 | +/* LICENSE
|
| 2130 | +
|
| 2131 | +CopyCENSE
|
| 2132 | +
|
| 2133 | +Copy
|
| 2134 | +
|
| 2135 | +
|
| 2136 | +
|
| 2137 | +
|
| 2138 | +
|
| 2139 | +pack.c */
|
| 2140 | +? cson_guess_arg_type(pos: use
|
| 2141 | + the defaul
|
| 2142 | +0 != (rc= use
|
| 2143 | + the defaul
|
| 2144 | +o 2008-05-20 * C2
|
| 2145 | + MODE_KEY = 3, break;
|
| 2146 | +/* LICENSE
|
| 2147 | +
|
| 2148 | +CopyCENSE
|
| 2149 | +
|
| 2150 | +Copy
|
| 2151 | +
|
| 2152 | +
|
| 2153 | +
|
| 2154 | +
|
| 2155 | +
|
| 2156 | +pack.c */
|
| 2157 | +0_guess_arg_type(pos: use
|
| 2158 | + t use
|
| 2159 | + MODE_KEY = 3, use
|
| 2160 | + ;
|
| 2161 | + p->c 0 == rc ) use
|
| 2162 | + }Aarye defaul
|
| 2163 | +o 2008-05-20 * C2
|
| 2164 | + MODE_KEY = 3, break;
|
| 2165 | +/* LICENSE
|
| 2166 | +
|
| 2167 | +CopyCENSE
|
| 2168 | +
|
| 2169 | +Copy
|
| 2170 | +
|
| 2171 | + use
|
| 2172 | + }
|
| 2173 | +
|
| 2174 | + use
|
| 2175 | + the defaul
|
| 2176 | +o 2008-05-20 * C2
|
| 2177 | + MODE_KEY = 3, break;
|
| 2178 | +/* LICENSE
|
| 2179 | +
|
| 2180 | +CopyCENSE
|
| 2181 | +
|
| 2182 | +Copy
|
| 2183 | +
|
| 2184 | +
|
| 2185 | +
|
| 2186 | +
|
| 2187 | +
|
| 2188 | +pack.c */
|
| 2189 | +? cson_guess_arg_type(pos: use
|
| 2190 | + the defaul
|
| 2191 | +0 != (rc= use
|
| 2192 | + the defaul
|
| 2193 | +o 2008-05-20 * C2
|
| 2194 | + MODE_KEY = 3, break;
|
| 2195 | +/* LICENSE
|
| 2196 | +
|
| 2197 | +CopyCENSE
|
| 2198 | +
|
| 2199 | +Copy
|
| 2200 | +
|
| 2201 | +
|
| 2202 | +
|
| 2203 | +
|
| 2204 | +
|
| 2205 | +pack.c */
|
| 2206 | + defaul
|
| 2207 | +o 2008-05-20 * C2
|
| 2208 | + MODE_KEY = 3, break;
|
| 2209 | +/* LICENSE
|
| 2210 | +
|
| 2211 | +CopyCENSE
|
| 2212 | +
|
| 2213 | +Copy
|
| 2214 | +
|
| 2215 | +
|
| 2216 | +
|
| 2217 | +
|
| 2218 | +
|
| 2219 | +pack.c */
|
| 2220 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2221 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2222 | + use
|
| 2223 | + the defaul
|
| 2224 | +o 2008-05-20 * C2
|
| 2225 | + MODE_KEY = 3, break;
|
| 2226 | +/* LICENSE
|
| 2227 | +
|
| 2228 | +CopyCENSE
|
| 2229 | +
|
| 2230 | +Copy
|
| 2231 | +
|
| 2232 | +
|
| 2233 | +
|
| 2234 | +
|
| 2235 | +
|
| 2236 | +pack.c */
|
| 2237 | +if( use
|
| 2238 | + the clone_shared(ul
|
| 2239 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 2240 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 2241 | + the def use
|
| 2242 | + the defaul
|
| 2243 | +o 2008-05-20 * C2
|
| 2244 | + MODE_KEY = 3, break;
|
| 2245 | +/* LICENSE
|
| 2246 | +
|
| 2247 | +CopyCENSE
|
| 2248 | +
|
| 2249 | +Copy
|
| 2250 | +
|
| 2251 | + use
|
| 2252 | + }
|
| 2253 | +
|
| 2254 | + use
|
| 2255 | + the defaul
|
| 2256 | +o 2008-05-20 * C2
|
| 2257 | + MODE_KEY = 3, break;
|
| 2258 | +/* LICENSE
|
| 2259 | +
|
| 2260 | +CopyCENSE
|
| 2261 | +
|
| 2262 | +Copy
|
| 2263 | +
|
| 2264 | +
|
| 2265 | +
|
| 2266 | +
|
| 2267 | +
|
| 2268 | +pack.c */
|
| 2269 | +? cson_guess_arg_type(pos: use
|
| 2270 | + the defaul
|
| 2271 | +0 != (rc= use
|
| 2272 | + the defaul
|
| 2273 | +o 2008-05-20 * C2
|
| 2274 | + MODE_KEY = 3, break;
|
| 2275 | +/* LICENSE
|
| 2276 | +
|
| 2277 | +CopyCENSE
|
| 2278 | +
|
| 2279 | +Copy
|
| 2280 | +
|
| 2281 | +
|
| 2282 | +
|
| 2283 | +
|
| 2284 | +
|
| 2285 | +pack.c */
|
| 2286 | +0_guess_arg_type(pos: use
|
| 2287 | + t use
|
| 2288 | + MODE_KEY = 3, use
|
| 2289 | + ;
|
| 2290 | + p->c 0 == rc ) use
|
| 2291 | + }ARRAY_END:( ch}/*
|
| 2292 | + refcount the keys! We first need a setter which takes
|
| 2293 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 2294 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 2295 | +# pop ) ownership of it to the
|
| 2296 | + caller. It must eventually be destroyed, by the caller or its
|
| 2297 | + owning or transfering
|
| 2298 | +
|
| 2299 | +void/**
|
| 2300 | + This special-case impl is needed because the underlying
|
| 2301 | + (generic) list operations do not know how to populate
|
| 2302 | + new entries
|
| 2303 | + */ use
|
| 2304 | + the =*arg)){ use
|
| 2305 | + the def use
|
| 2306 | + the defaul
|
| 2307 | +o 2008-05-20 * C2
|
| 2308 | + MODE_KEY = 3, break;
|
| 2309 | +/* LICENSE
|
| 2310 | +
|
| 2311 | +CopyCENSE
|
| 2312 | +
|
| 2313 | +Copy
|
| 2314 | +
|
| 2315 | + use
|
| 2316 | + }
|
| 2317 | +
|
| 2318 | + use
|
| 2319 | + the defaul
|
| 2320 | +o 2008-05-20 * C2
|
| 2321 | + MODE_KEY = 3, break;
|
| 2322 | +/* LICENSE
|
| 2323 | +
|
| 2324 | +CopyCENSE
|
| 2325 | +
|
| 2326 | +Copy
|
| 2327 | +
|
| 2328 | +
|
| 2329 | +
|
| 2330 | +
|
| 2331 | +
|
| 2332 | +pack.c */
|
| 2333 | +? cson_guess_arg_type(pos: use
|
| 2334 | + the defaul
|
| 2335 | +0 != (rc= use
|
| 2336 | + the defaul
|
| 2337 | +o 2008-05-20 * C2
|
| 2338 | + MODE_KEY = 3, break;
|
| 2339 | +/* LICENSE
|
| 2340 | +
|
| 2341 | +CopyCENSE
|
| 2342 | +
|
| 2343 | +Copy
|
| 2344 | +
|
| 2345 | +
|
| 2346 | +
|
| 2347 | +
|
| 2348 | +
|
| 2349 | +pack.c */
|
| 2350 | +0_guess_arg_type(pos: use
|
| 2351 | + t use
|
| 2352 | + MODE_KEY = 3, use
|
| 2353 | + ;
|
| 2354 | + p->c 0 == rc ) use
|
| 2355 | + }Aary use
|
| 2356 | + the the defaul
|
| 2357 | +o 2008-05-20 * C2
|
| 2358 | + MODE_KEY = 3, break;
|
| 2359 | +/* LICENSE
|
| 2360 | +
|
| 2361 | +CopyCENSE
|
| 2362 | +
|
| 2363 | +Copy
|
| 2364 | +
|
| 2365 | +
|
| 2366 | +
|
| 2367 | +
|
| 2368 | +
|
| 2369 | +pack.c */
|
| 2370 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2371 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2372 | + use
|
| 2373 | + the defaul
|
| 2374 | +o 2008-05-20 * C2
|
| 2375 | + MODE_KEY = 3, break;
|
| 2376 | +/* LICENSE
|
| 2377 | +
|
| 2378 | +CopyCENSE
|
| 2379 | +
|
| 2380 | +Copy
|
| 2381 | +
|
| 2382 | +
|
| 2383 | +
|
| 2384 | +
|
| 2385 | +
|
| 2386 | +pack.c */
|
| 2387 | +if( use
|
| 2388 | + the clone_shared(ul
|
| 2389 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 2390 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 2391 | + the def use
|
| 2392 | + the defaul
|
| 2393 | +o 2008-05-20 * C2
|
| 2394 | + MODE_KEY = 3, break;
|
| 2395 | +/* LICENSE
|
| 2396 | +
|
| 2397 | +CopyCENSE
|
| 2398 | +
|
| 2399 | +Copy
|
| 2400 | +
|
| 2401 | + use
|
| 2402 | + }
|
| 2403 | +
|
| 2404 | + use
|
| 2405 | + the defaul
|
| 2406 | +o 2008-05-20 * C2
|
| 2407 | + MODE_KEY = 3, break;
|
| 2408 | +/* LICENSE
|
| 2409 | +
|
| 2410 | +CopyCENSE
|
| 2411 | +
|
| 2412 | +Copy
|
| 2413 | +
|
| 2414 | +
|
| 2415 | +
|
| 2416 | +
|
| 2417 | +
|
| 2418 | +pack.c */
|
| 2419 | +? cson_guess_arg_type(pos: use
|
| 2420 | + the defaul
|
| 2421 | +0 != (rc= use
|
| 2422 | + the defaul
|
| 2423 | +o 2008-05-20 * C2
|
| 2424 | + MODE_KEY = 3, break;
|
| 2425 | +/* LICENSE
|
| 2426 | +
|
| 2427 | +CopyCENSE
|
| 2428 | +
|
| 2429 | +Copy
|
| 2430 | +
|
| 2431 | +
|
| 2432 | +
|
| 2433 | +
|
| 2434 | +
|
| 2435 | +pack.c */
|
| 2436 | + defaul
|
| 2437 | +o 2008-05-20 * C2
|
| 2438 | + MODE_KEY = 3, break;
|
| 2439 | +/* LICENSE
|
| 2440 | +
|
| 2441 | +CopyCENSE
|
| 2442 | +
|
| 2443 | +Copy
|
| 2444 | +
|
| 2445 | +
|
| 2446 | +
|
| 2447 | +
|
| 2448 | +
|
| 2449 | +pack.c */
|
| 2450 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2451 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2452 | + use
|
| 2453 | + the defaul
|
| 2454 | +o 2008-05-20 * C2
|
| 2455 | + MODE_KEY = 3, break;
|
| 2456 | +/* LICENSE
|
| 2457 | +
|
| 2458 | +CopyCENSE
|
| 2459 | +
|
| 2460 | +Copy
|
| 2461 | +
|
| 2462 | +
|
| 2463 | +
|
| 2464 | +
|
| 2465 | +
|
| 2466 | +pack.c */
|
| 2467 | +if( use
|
| 2468 | + the clone_shared(ul
|
| 2469 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 2470 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 2471 | + the def use
|
| 2472 | + the defaul
|
| 2473 | +o 2008-05-20 * C2
|
| 2474 | + MODE_KEY = 3, break;
|
| 2475 | +/* LICENSE
|
| 2476 | +
|
| 2477 | +CopyCENSE
|
| 2478 | +
|
| 2479 | +Copy
|
| 2480 | +
|
| 2481 | + use
|
| 2482 | + }
|
| 2483 | +
|
| 2484 | + use
|
| 2485 | + the defaul
|
| 2486 | +o 2008-05-20 * C2
|
| 2487 | + MODE_KEY = 3, break;
|
| 2488 | +/* LICENSE
|
| 2489 | +
|
| 2490 | +CopyCENSE
|
| 2491 | +
|
| 2492 | +Copy
|
| 2493 | +
|
| 2494 | +
|
| 2495 | +
|
| 2496 | +
|
| 2497 | +
|
| 2498 | +pack.c */
|
| 2499 | +? cson_guess_arg_type(pos: use
|
| 2500 | + the defaul
|
| 2501 | +0 != (rc= use
|
| 2502 | + the defaul
|
| 2503 | +o 2008-05-20 * C2
|
| 2504 | + MODE_KEY = 3, break;
|
| 2505 | +/* LICENSE
|
| 2506 | +
|
| 2507 | +CopyCENSE
|
| 2508 | +
|
| 2509 | +Copy
|
| 2510 | +
|
| 2511 | +
|
| 2512 | +
|
| 2513 | +
|
| 2514 | +
|
| 2515 | +pack.c */
|
| 2516 | +0_guess_arg_type(pos: use
|
| 2517 | + t use
|
| 2518 | + MODE_KEY = 3, use
|
| 2519 | + ;
|
| 2520 | + p->c 0 == rc ) use
|
| 2521 | + }ARRAY_END:( ch}/*
|
| 2522 | + refcount the keys! We first need a setter which takes
|
| 2523 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 2524 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 2525 | +# pop ) ownership of it to the
|
| 2526 | + caller. It must eventuallyntually be destroyed, by the caller or its
|
| 2527 | + owning or transfering
|
| 2528 | +
|
| 2529 | +void/**
|
| 2530 | + This special-case impl is needed because the underlying
|
| 2531 | + (generic) list operations do not know how to populate
|
| 2532 | + new entries
|
| 2533 | + */ use
|
| 2534 | + the =*arg)){ use
|
| 2535 | + the C2
|
| 2536 | + MODE_KEY = 3, break;
|
| 2537 | +/* LICENSE
|
| 2538 | +
|
| 2539 | +CopyCENSE
|
| 2540 | +
|
| 2541 | +Copndif
|
| 2542 | +28lZAF; defined(_the defaul
|
| 2543 | +0 != (rc= use
|
| 2544 | + the defaul
|
| 2545 | +o 2008-05-20 * C2
|
| 2546 | + MODE_KEY = 3, break;
|
| 2547 | +/* LICENSE
|
| 2548 | +
|
| 2549 | +CopyCENSE
|
| 2550 | +
|
| 2551 | +Copy
|
| 2552 | +
|
| 2553 | +
|
| 2554 | +
|
| 2555 | +
|
| 2556 | +
|
| 2557 | +pack.c */
|
| 2558 | +0_guess_arg_type(pos: use
|
| 2559 | + t use
|
| 2560 | + MODE_KEY = 3, use
|
| 2561 | + ;
|
| 2562 | + p->c 0 == rc ) use
|
| 2563 | + }Aarye
|
| 2564 | + }
|
| 2565 | +
|
| 2566 | + use
|
| 2567 | + the defaul
|
| 2568 | +o 2008-05-20 * C2
|
| 2569 | + MODE_KEY = 3, break;
|
| 2570 | +/* LICENSE
|
| 2571 | +
|
| 2572 | +CopyCENSE
|
| 2573 | +
|
| 2574 | +Copy
|
| 2575 | +
|
| 2576 | +
|
| 2577 | +
|
| 2578 | +
|
| 2579 | +
|
| 2580 | +pack.c */
|
| 2581 | +? cson_guess_arg_type(pos: use
|
| 2582 | + the defaul
|
| 2583 | +0 != (rc= use
|
| 2584 | + the defaul
|
| 2585 | +o 2008-05-20 * C2
|
| 2586 | + MODE_KEY = 3, break;
|
| 2587 | +/* LICENSE
|
| 2588 | +
|
| 2589 | +CopyCENSE
|
| 2590 | +
|
| 2591 | +Copy
|
| 2592 | +
|
| 2593 | +
|
| 2594 | +
|
| 2595 | +
|
| 2596 | +
|
| 2597 | +pack.c */
|
| 2598 | + defaul
|
| 2599 | +o 2008-05-20 * C2
|
| 2600 | + MODE_KEY = 3, break;
|
| 2601 | +/* LICENSE
|
| 2602 | +
|
| 2603 | +CopyCENSE
|
| 2604 | +
|
| 2605 | +Copy
|
| 2606 | +
|
| 2607 | +
|
| 2608 | +
|
| 2609 | +
|
| 2610 | +
|
| 2611 | +pack.c */
|
| 2612 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2613 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2614 | + use
|
| 2615 | + the defaul
|
| 2616 | +o 2008-05-20 * C2
|
| 2617 | + MODE_KEY = 3, break;
|
| 2618 | +/* LICENSE
|
| 2619 | +
|
| 2620 | +CopyCENSE
|
| 2621 | +
|
| 2622 | +Copy
|
| 2623 | +
|
| 2624 | +
|
| 2625 | +
|
| 2626 | +
|
| 2627 | +
|
| 2628 | +pack.c */
|
| 2629 | +if( use
|
| 2630 | + the clone_shared(ul
|
| 2631 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 2632 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 2633 | + the def use
|
| 2634 | + the defaul
|
| 2635 | +o 2008-05-20 * C2
|
| 2636 | + MODE_KEY = 3, break;
|
| 2637 | +/* LICENSE
|
| 2638 | +
|
| 2639 | +CopyCENSE
|
| 2640 | +
|
| 2641 | +Copy
|
| 2642 | +
|
| 2643 | + use
|
| 2644 | + }
|
| 2645 | +
|
| 2646 | + use
|
| 2647 | + the defaul
|
| 2648 | +o 2008-05-20 * C2
|
| 2649 | + MODE_KEY = 3, break;
|
| 2650 | +/* LICENSE
|
| 2651 | +
|
| 2652 | +CopyCENSE
|
| 2653 | +
|
| 2654 | +Copy
|
| 2655 | +
|
| 2656 | +
|
| 2657 | +
|
| 2658 | +
|
| 2659 | +
|
| 2660 | +pack.c */
|
| 2661 | +? cson_guess_arg_type(pos: use
|
| 2662 | + the defaul
|
| 2663 | +0 != (rc= use
|
| 2664 | + the defaul
|
| 2665 | +o 2008-05-20 * C2
|
| 2666 | + MODE_KEY = 3, break;
|
| 2667 | +/* LICENSE
|
| 2668 | +
|
| 2669 | +CopyCENSE
|
| 2670 | +
|
| 2671 | +Copy
|
| 2672 | +
|
| 2673 | +
|
| 2674 | +
|
| 2675 | +
|
| 2676 | +
|
| 2677 | +pack.c */
|
| 2678 | +0_guess_arg_type(pos: us#iflying
|
| 2679 | + (generic)unlink( fname );
|
| 2680 | + cson_guess_arg_type(pos: use
|
| 2681 | + the defaul
|
| 2682 | +0 != (rc= use
|
| 2683 | + the defaul
|
| 2684 | +o 2008-05-20 * C2
|
| 2685 | + MODE_KEY = 3, break;
|
| 2686 | +/* LICENSE
|
| 2687 | +
|
| 2688 | +CopyCENSE
|
| 2689 | +
|
| 2690 | +Copy
|
| 2691 | +
|
| 2692 | +
|
| 2693 | +
|
| 2694 | +
|
| 2695 | +
|
| 2696 | +pack.c */
|
| 2697 | + defaul
|
| 2698 | +o 2008-05-20 * C2
|
| 2699 | + MODE_KEY = 3, break;
|
| 2700 | +/* LICENSE
|
| 2701 | +
|
| 2702 | +CopyCENSE
|
| 2703 | +
|
| 2704 | +Copy
|
| 2705 | +
|
| 2706 | +
|
| 2707 | +
|
| 2708 | +
|
| 2709 | +
|
| 2710 | +pack.c */
|
| 2711 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2712 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2713 | + use
|
| 2714 | + the defaul
|
| 2715 | +o 2008-05-20 * C2
|
| 2716 | + MODE_KEY = 3, break;
|
| 2717 | +/* LICENSE
|
| 2718 | +
|
| 2719 | +CopyCENSE
|
| 2720 | +
|
| 2721 | +Copy
|
| 2722 | +
|
| 2723 | +
|
| 2724 | +
|
| 2725 | +
|
| 2726 | +
|
| 2727 | +pack.c */
|
| 2728 | +if( use
|
| 2729 | + the clone_shared(ul
|
| 2730 | +o 2008-05-20 2008-05-20 * sharedshar#iflying
|
| 2731 | + (generic)
|
| 2732 | + rc = unlink( fname );
|
| 2733 | +#else
|
| 2734 | +# error "unlink not implemented for this platform."
|
| 2735 | +
|
| 2736 | +
|
| 2737 | +
|
| 2738 | +
|
| 2739 | +aul
|
| 2740 | +o 2008-05-20 * C2
|
| 2741 | + MODE_KEY = 3, break;
|
| 2742 | +/* LICENSE
|
| 2743 | +
|
| 2744 | +CopyCENSE
|
| 2745 | +
|
| 2746 | +Copy
|
| 2747 | +
|
| 2748 | +
|
| 2749 | +
|
| 2750 | +
|
| 2751 | +
|
| 2752 | +pack.c */
|
| 2753 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2754 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2755 | + use
|
| 2756 | + the defaul
|
| 2757 | +o 2008-05-20 * C2
|
| 2758 | + MODE_KEY = 3, break;
|
| 2759 | +/* LICENSE
|
| 2760 | +
|
| 2761 | +CopyCENSE
|
| 2762 | +
|
| 2763 | +Copy
|
| 2764 | +
|
| 2765 | +
|
| 2766 | +
|
| 2767 | +
|
| 2768 | +
|
| 2769 | +pack.c */
|
| 2770 | +if( use
|
| 2771 | + the clone_shared(ul
|
| 2772 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 2773 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 2774 | + the def use
|
| 2775 | + the defaul
|
| 2776 | +o 2008-05-20 * C2
|
| 2777 | + MODE_KEY = 3, break;
|
| 2778 | +/* LICENSE
|
| 2779 | +
|
| 2780 | +CopyCENSE
|
| 2781 | +
|
| 2782 | +Copy
|
| 2783 | +
|
| 2784 | + use
|
| 2785 | + }
|
| 2786 | +
|
| 2787 | + use
|
| 2788 | + the defaul
|
| 2789 | +o 2008-05-20 * C2
|
| 2790 | + MODE_KEY = 3, break;
|
| 2791 | +/* LICENSE
|
| 2792 | +
|
| 2793 | +CopyCENSE
|
| 2794 | +
|
| 2795 | +Copy
|
| 2796 | +
|
| 2797 | +
|
| 2798 | +
|
| 2799 | +
|
| 2800 | +
|
| 2801 | +pack.c */
|
| 2802 | +? cson_guess_arg_type(pos: use
|
| 2803 | + the defaul
|
| 2804 | +0 != (rc= use
|
| 2805 | + the defaul
|
| 2806 | +o 2008-05-20 * C2
|
| 2807 | + MODE_KEY = 3, break;
|
| 2808 | +/* LICENSE
|
| 2809 | +
|
| 2810 | +CopyCENSE
|
| 2811 | +
|
| 2812 | +Copy
|
| 2813 | +
|
| 2814 | +
|
| 2815 | +
|
| 2816 | +
|
| 2817 | +
|
| 2818 | +pack.c */
|
| 2819 | + defaul
|
| 2820 | +o 2008-05-20 * C2
|
| 2821 | + MODE_KEY = 3, break;
|
| 2822 | +/* LICENSE
|
| 2823 | +
|
| 2824 | +CopyCENSE
|
| 2825 | +
|
| 2826 | +Copy
|
| 2827 | +
|
| 2828 | +
|
| 2829 | +
|
| 2830 | +
|
| 2831 | +
|
| 2832 | +pack.c */
|
| 2833 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2834 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2835 | + use
|
| 2836 | + the defaul
|
| 2837 | +o 2008-05-20 * C2
|
| 2838 | + MODE_KEY = 3, break;
|
| 2839 | +/* LICENSE
|
| 2840 | +
|
| 2841 | +CopyCENSE
|
| 2842 | +
|
| 2843 | +Copy
|
| 2844 | +
|
| 2845 | +
|
| 2846 | +
|
| 2847 | +
|
| 2848 | +
|
| 2849 | +pack.c */
|
| 2850 | +if( use
|
| 2851 | + tC2
|
| 2852 | + MODE_KEY =s: use
|
| 2853 | + the defaul
|
| 2854 | +0 != (rc= use
|
| 2855 | + the defaul
|
| 2856 | +o 2008-05-20 * C2
|
| 2857 | + MODE_KEY = 3, break;
|
| 2858 | +/* LICENSE
|
| 2859 | +
|
| 2860 | +CopyCENSE
|
| 2861 | +
|
| 2862 | +Copy
|
| 2863 | +
|
| 2864 | +
|
| 2865 | +
|
| 2866 | +
|
| 2867 | +
|
| 2868 | +pack.c */
|
| 2869 | +0_guess_arg_type(pos: use
|
| 2870 | + t use
|
| 2871 | + MODE_KEY = 3, use
|
| 2872 | + ;
|
| 2873 | + p->c 0 == rc ) use
|
| 2874 | + }ARRAY_END:( ch}/*
|
| 2875 | + refcount the keys! We first need a setter which takes
|
| 2876 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 2877 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 2878 | +# pop ) ownership of it to the
|
| 2879 | + caller. It must eventually be destroyed, by the caller or its
|
| 2880 | + owning or transfering
|
| 2881 | +
|
| 2882 | +void/**
|
| 2883 | + This special-case impl is needed because the underlying
|
| 2884 | + (generic) list operations do not know how to populate
|
| 2885 | + new entries
|
| 2886 | + */ use
|
| 2887 | + the =*arg)){ use
|
| 2888 | + the def use
|
| 2889 | + the defaul
|
| 2890 | +o 2008-05-20 * C2
|
| 2891 | + MODE_KEY = 3, break;
|
| 2892 | +/* LICENSE
|
| 2893 | +
|
| 2894 | +CopyCENSE
|
| 2895 | +
|
| 2896 | +Copy
|
| 2897 | +
|
| 2898 | + use
|
| 2899 | + }
|
| 2900 | +
|
| 2901 | + use
|
| 2902 | + the defaul
|
| 2903 | +o 2008-05-20 freeintegerstringinteger
|
| 2904 | + MODE_KEY = 3aul
|
| 2905 | +o 2008-05-2free
|
| 2906 | + MODE_KEY = 3aul
|
| 2907 | +o 2008-05-2string
|
| 2908 | + MODE_KEY = 3aul
|
| 2909 | +o 2008-05-20 * C2
|
| 2910 | + MODE_KEY = 3, break;
|
| 2911 | +/* LICENSE
|
| 2912 | +
|
| 2913 | +CopyCENSE
|
| 2914 | +
|
| 2915 | +Copy
|
| 2916 | +
|
| 2917 | +
|
| 2918 | +
|
| 2919 | +
|
| 2920 | +
|
| 2921 | +pack.c */
|
| 2922 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2923 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2924 | + use
|
| 2925 | +If self is not null, free(self->value) is called. *self is then
|
| 2926 | + type. self is not freed.
|
| 2927 | +free
|
| 2928 | +{
|
| 2929 | + if(selfcson_free(self->value,"free()"
|
| 2930 | + Reminders to self:
|
| 2931 | +
|
| 2932 | + - 20110126: moved cson_value_new() and cson_value_set_xxx() out of
|
| 2933 | + MODE_KEY = 3aul
|
| 2934 | +o 2008-05-20 * C2
|
| 2935 | + MODE_KEY = 3, break;
|
| 2936 | +/* LICENSE
|
| 2937 | +
|
| 2938 | +CopyCENSE
|
| 2939 | +
|
| 2940 | +Copy
|
| 2941 | +
|
| 2942 | +
|
| 2943 | +
|
| 2944 | +
|
| 2945 | +
|
| 2946 | +pack.c */
|
| 2947 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 2948 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 2949 | + use
|
| 2950 | + the defaul
|
| 2951 | +o 2008-05-20 * C2
|
| 2952 | + MODE_KEY = 3, break;
|
| 2953 | +/* LICENSE
|
| 2954 | +
|
| 2955 | +CopyCENSE
|
| 2956 | +
|
| 2957 | +Copy
|
| 2958 | +
|
| 2959 | +
|
| 2960 | +
|
| 2961 | +
|
| 2962 | +
|
| 2963 | + a) They can be easily mis-used to cause memory leaks, even when used in
|
| 2964 | + a manner which seems relatively intuitive.
|
| 2965 | +
|
| 2966 | + b) Having them in the API prohibits us from eventually doing certain
|
| 2967 | + allocation optimizations like not allocating Booleans,
|
| 2968 | + Integer/Doubles with the value 0, or empty Strings. The main problem
|
| 2969 | + is that cson_value_set_xxx() cannot be implemented properly if we
|
| 2970 | + add that type of optimization.
|
| 2971 | +*/P@EpP,2x:value with the "undefined" value and transfers
|
| 2972 | + ownership of it to the caller. Use The cson_value_set_xxx() family
|
| 2973 | + of functions to assign a typed value to it. It must eventually be
|
| 2974 | + W@Gt~,Z@GuY,1:
|
| 2975 | +J@aul,1:)4c@H0X,1X:);
|
| 2976 | +/**
|
| 2977 | + Cleans any existing contents of val and sets its new value
|
| 2978 | + to the special NULL valueR@NQi,A:
|
| 2979 | +
|
| 2980 | +*/
|
| 2981 | +#if 0H@R6l,E:value_set_nullM@DjD,1G:#endif
|
| 2982 | +/**
|
| 2983 | + Cleans any existing contents of val and sets its new value
|
| 2984 | + to vR@NQi,A:
|
| 2985 | +
|
| 2986 | +*/
|
| 2987 | +#if 0H@R6l,1x:value_set_bool( cson_value * val, char v );
|
| 2988 | +#endif
|
| 2989 | +/**
|
| 2990 | + Cleans any existing contents of val and sets its new value
|
| 2991 | + to vR@NQi,1:
|
| 2992 | +K@TVj,9:value_setL@Je0,1W:* val, cson_int_t v );
|
| 2993 | +/**
|
| 2994 | + Cleans any existing contents of val and sets its new value
|
| 2995 | + to vR@NQi,K@TVj,7:value_sM@KDS,6:* val,I@LDz,2b:;
|
| 2996 | +
|
| 2997 | +/**
|
| 2998 | + Cleans any existing contents of val and sets its new value to
|
| 2999 | + str. On success, ownership of str is passed on to val. On error
|
| 3000 | + ownership is not changedR@NQi,h:
|
| 3001 | +
|
| 3002 | + If str is NULL, (!*str), or (!len) thenN@C3e,i:
|
| 3003 | + allocate any memory for a new string, andI@KEW,N:string()
|
| 3004 | + will returnG@RN0,S: as opposed to a NULL stringL@abW,8:value_seL@T1T,6:* val,a@LIU,2:;
|
| 3005 | +U@HBG,P@H~G,R@HXc,H@H7G,K:,"cson_value_new");
|
| 3006 | +H@Jb0,M@HyW,Q0@H_h,O@C4G,7:integerL@C4i,n:
|
| 3007 | +{
|
| 3008 | + if( self )
|
| 3009 | + {
|
| 3010 | +#if !CSON_VOID_PTR_IS_BIG
|
| 3011 | +I@ICV,O:self->value,"cson_int_t"I@_KF,_:*self = cson_value_empty;
|
| 3012 | + }
|
| 3013 | +I@R6k,9:value_setL@Je0,6:* val,Q@L9W,5:! valg@VJl,O:#if CSON_VOID_PTR_IS_BIGK@_g~,5:cleanH@Idk,3:valI@HZ~,W:v;
|
| 3014 | +#else
|
| 3015 | + cson_int_t * ivH@IDW,G:iv = (cson_int_tQ@KbM,K:int_t), "cson_int_t"H@akl,1:iK@LZl,J@PD0,B@Ht~,5:cleanH@Idk,7:*iv = vA@Hyl,F:val->value = ivH@_KG,A:val->api =H@Cll,7:integerT@DxG,G@S_l,7:value_sM@KDS,6:* val,T@LDz,5:! valo@VJl,I:cson_double_t * rvH@IDW,B@Ht~,5:cleanH@Idk,A:val->api =H@Cll,S:double;
|
| 3016 | + if( 0.0 != vP@URW,17:/*
|
| 3017 | + aul
|
| 3018 | +o 2008-05-20 * C2
|
| 3019 | + MODE_KEY = 3, break;
|
| 3020 | +/* LICENSE
|
| 3021 | +
|
| 3022 | +CopyCENSE
|
| 3023 | +
|
| 3024 | +Copy
|
| 3025 | +
|
| 3026 | +
|
| 3027 | +
|
| 3028 | +
|
| 3029 | +
|
| 3030 | +pack.c */
|
| 3031 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3032 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3033 | + use
|
| 3034 | + the defaul
|
| 3035 | +o 2008-05-20 * C2
|
| 3036 | + MODE_KEY = 3, break;
|
| 3037 | +/* LICENSE
|
| 3038 | +
|
| 3039 | +CopyCENSE
|
| 3040 | +
|
| 3041 | +Copy
|
| 3042 | +
|
| 3043 | +
|
| 3044 | +
|
| 3045 | +
|
| 3046 | +
|
| 3047 | +pack.c */
|
| 3048 | +if( use
|
| 3049 | + the clone_shared(ul
|
| 3050 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3051 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3052 | + the def use
|
| 3053 | + the defaul
|
| 3054 | +o 2008-05-20 * C2
|
| 3055 | + MODE_KEY = 3, break;
|
| 3056 | +/* LICENSE
|
| 3057 | +
|
| 3058 | +CopyCENSE
|
| 3059 | +
|
| 3060 | +Copy
|
| 3061 | +
|
| 3062 | + use
|
| 3063 | + }
|
| 3064 | +
|
| 3065 | + use
|
| 3066 | + the defaul
|
| 3067 | +o 2008-05-20 * C2
|
| 3068 | + MODE_KEY = 3, break;
|
| 3069 | +/* LICENSE
|
| 3070 | +
|
| 3071 | +CopyCENSE
|
| 3072 | +
|
| 3073 | +Copy
|
| 3074 | +
|
| 3075 | +
|
| 3076 | +
|
| 3077 | +
|
| 3078 | +
|
| 3079 | +pack.c */
|
| 3080 | +? cson_guess_arg_type(pos: use
|
| 3081 | + the defaul
|
| 3082 | +0 != (rc= use
|
| 3083 | + the defaul
|
| 3084 | +o 2008-05-20 * C2
|
| 3085 | + MODE_KEY = 3, break;
|
| 3086 | +/* LICENSE
|
| 3087 | +
|
| 3088 | +CopyCENSE
|
| 3089 | +
|
| 3090 | +Copy
|
| 3091 | +
|
| 3092 | +
|
| 3093 | +
|
| 3094 | +
|
| 3095 | +
|
| 3096 | +pack.c */
|
| 3097 | + defaul
|
| 3098 | +o 2008-05-20 * C2
|
| 3099 | + MODE_KEY = 3, break;
|
| 3100 | +/* LICENSE
|
| 3101 | +
|
| 3102 | +CopyCENSE
|
| 3103 | +
|
| 3104 | +Copy
|
| 3105 | +
|
| 3106 | +
|
| 3107 | +
|
| 3108 | +
|
| 3109 | +
|
| 3110 | +pack.c */
|
| 3111 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3112 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3113 | + use
|
| 3114 | + the defaul
|
| 3115 | +o 2008-05-20 * C2
|
| 3116 | + MODE_KEY = 3, break;
|
| 3117 | +/* LICENSE
|
| 3118 | +
|
| 3119 | +CopyCENSE
|
| 3120 | +
|
| 3121 | +Copy
|
| 3122 | +
|
| 3123 | +
|
| 3124 | +
|
| 3125 | +
|
| 3126 | +
|
| 3127 | +pack.c */
|
| 3128 | +if( use
|
| 3129 | + the clone_shared(ul
|
| 3130 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3131 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3132 | + the def use
|
| 3133 | + the defaul
|
| 3134 | +o 2008-05-20 * C2
|
| 3135 | + MODE_KEY = 3, break;
|
| 3136 | +/* LICENSE
|
| 3137 | +
|
| 3138 | +CopyCENSE
|
| 3139 | +
|
| 3140 | +Copy
|
| 3141 | +
|
| 3142 | + use
|
| 3143 | + }
|
| 3144 | +
|
| 3145 | + use
|
| 3146 | + the defaul
|
| 3147 | +o 2008-05-20 * C2
|
| 3148 | + MODE_KEY = 3, break;
|
| 3149 | +/* LICENSE
|
| 3150 | +
|
| 3151 | +CopyCENSE
|
| 3152 | +
|
| 3153 | +Copy
|
| 3154 | +
|
| 3155 | +
|
| 3156 | +
|
| 3157 | +
|
| 3158 | +
|
| 3159 | +pack.c */
|
| 3160 | +? cson_guess_arg_type(pos: use
|
| 3161 | + the defaul
|
| 3162 | +0 != (rc= use
|
| 3163 | + the defaul
|
| 3164 | +o 2008-05-20 * C2
|
| 3165 | + MODE_KEY = 3, break;
|
| 3166 | +/* LICENSE
|
| 3167 | +
|
| 3168 | +CopyCENSE
|
| 3169 | +
|
| 3170 | +Copy
|
| 3171 | +
|
| 3172 | +
|
| 3173 | +
|
| 3174 | +
|
| 3175 | +
|
| 3176 | +pack.c */
|
| 3177 | +0_guess_arg_type(pos: use
|
| 3178 | + t use
|
| 3179 | + MODE_KEY = 3, use
|
| 3180 | + ;
|
| 3181 | + p->c 0 == rc ) use
|
| 3182 | + }ARRAY_END:( ch}/*
|
| 3183 | + refcount the keys! We first need a setter which takes
|
| 3184 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 3185 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 3186 | +# pop ) ownership of it to the
|
| 3187 | + caller. It must eventually be destroyed, by the caller or its
|
| 3188 | + owning or transfering
|
| 3189 | +
|
| 3190 | +void/**
|
| 3191 | + This special-case impl is needed because the underlying
|
| 3192 | + (generic) list operations do not know how to populate
|
| 3193 | + new entries
|
| 3194 | + */ use
|
| 3195 | + the =*arg)){ use
|
| 3196 | + the def use
|
| 3197 | + the defaul
|
| 3198 | +o 2008-05-20 * C2
|
| 3199 | + MODE_KEY = 3, break;
|
| 3200 | +/* LICENSE
|
| 3201 | +
|
| 3202 | +CopyCENSE
|
| 3203 | +
|
| 3204 | +Copy
|
| 3205 | +
|
| 3206 | + use
|
| 3207 | + }
|
| 3208 | +
|
| 3209 | + use
|
| 3210 | + the defaul
|
| 3211 | +o 2008-05-20 * C2
|
| 3212 | + MODE_KEY = 3, break;
|
| 3213 | +/* LICENSE
|
| 3214 | +
|
| 3215 | +CopyCENSE
|
| 3216 | +
|
| 3217 | +Copy
|
| 3218 | +
|
| 3219 | +
|
| 3220 | +
|
| 3221 | +
|
| 3222 | +
|
| 3223 | +pack.c */
|
| 3224 | +? cson_guess_arg_type(pos: use
|
| 3225 | + the defaul
|
| 3226 | +0 != (rc= use
|
| 3227 | + the defaul
|
| 3228 | +o 2008-05-20 * C2
|
| 3229 | + MODE_KEY = 3, break;
|
| 3230 | +/* LICENSE
|
| 3231 | +
|
| 3232 | +CopyCENSE
|
| 3233 | +
|
| 3234 | +Copy
|
| 3235 | +
|
| 3236 | +
|
| 3237 | +
|
| 3238 | +
|
| 3239 | +
|
| 3240 | +pack.c */
|
| 3241 | +0_guess_arg_type(pos: use
|
| 3242 | + t use
|
| 3243 | + MODE_KEY = 3, use
|
| 3244 | + ;
|
| 3245 | + p->c 0 == rc ) use
|
| 3246 | + }Aary use
|
| 3247 | + the the defaul
|
| 3248 | +o 2008-05-20 * C2
|
| 3249 | + MODE_KEY = 3, break;
|
| 3250 | +/* LICENSE
|
| 3251 | +
|
| 3252 | +CopyCENSE
|
| 3253 | +
|
| 3254 | +Copy
|
| 3255 | +
|
| 3256 | +
|
| 3257 | +
|
| 3258 | +
|
| 3259 | +
|
| 3260 | +pack.c */
|
| 3261 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3262 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3263 | + use
|
| 3264 | + the defaul
|
| 3265 | +o 2008-05-20 * C2
|
| 3266 | + MODE_KEY = 3, break;
|
| 3267 | +/* LICENSE
|
| 3268 | +
|
| 3269 | +CopyCENSE
|
| 3270 | +
|
| 3271 | +Copy
|
| 3272 | +
|
| 3273 | +
|
| 3274 | +
|
| 3275 | +
|
| 3276 | +
|
| 3277 | +pack.c */
|
| 3278 | +if( use
|
| 3279 | + the clone_shared(ul
|
| 3280 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3281 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3282 | + the def use
|
| 3283 | + the defaul
|
| 3284 | +o 2008-05-20 * C2
|
| 3285 | + MODE_KEY = 3, break;
|
| 3286 | +/* LICENSE
|
| 3287 | +
|
| 3288 | +CopyCENSE
|
| 3289 | +
|
| 3290 | +Copy
|
| 3291 | +
|
| 3292 | + use
|
| 3293 | + }
|
| 3294 | +
|
| 3295 | + use
|
| 3296 | + the defaul
|
| 3297 | +o 2008-05-20 * C2
|
| 3298 | + MODE_KEY = 3, break;
|
| 3299 | +/* LICENSE
|
| 3300 | +
|
| 3301 | +CopyCENSE
|
| 3302 | +
|
| 3303 | +Copy
|
| 3304 | +
|
| 3305 | +
|
| 3306 | +
|
| 3307 | +
|
| 3308 | +
|
| 3309 | +pack.c */
|
| 3310 | +? cson_guess_arg_type(pos: use
|
| 3311 | + the defaul
|
| 3312 | +0 != (rc= use
|
| 3313 | + the defaul
|
| 3314 | +o 2008-05-20 * C2
|
| 3315 | + MODE_KEY = 3, break;
|
| 3316 | +/* LICENSE
|
| 3317 | +
|
| 3318 | +CopyCENSE
|
| 3319 | +
|
| 3320 | +Copy
|
| 3321 | +
|
| 3322 | +
|
| 3323 | +
|
| 3324 | +
|
| 3325 | +
|
| 3326 | +pack.c */
|
| 3327 | + defaul
|
| 3328 | +o 2008-05-20 * C2
|
| 3329 | + MODE_KEY = 3, break;
|
| 3330 | +/* LICENSE
|
| 3331 | +
|
| 3332 | +CopyCENSE
|
| 3333 | +
|
| 3334 | +Copy
|
| 3335 | +
|
| 3336 | +
|
| 3337 | +
|
| 3338 | +
|
| 3339 | +
|
| 3340 | +pack.c */
|
| 3341 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3342 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3343 | + use
|
| 3344 | + the defaul
|
| 3345 | +o 2008-05-20 * C2
|
| 3346 | + MODE_KEY = 3, break;
|
| 3347 | +/* LICENSE
|
| 3348 | +
|
| 3349 | +CopyCENSE
|
| 3350 | +
|
| 3351 | +Copy
|
| 3352 | +
|
| 3353 | +
|
| 3354 | +
|
| 3355 | +
|
| 3356 | +
|
| 3357 | +pack.c */
|
| 3358 | +if( use
|
| 3359 | + the clone_shared(ul
|
| 3360 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3361 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3362 | + the def use
|
| 3363 | + the defaul
|
| 3364 | +o 2008-05-20 * C2
|
| 3365 | + MODE_KEY = 3, break;
|
| 3366 | +/* LICENSE
|
| 3367 | +
|
| 3368 | +CopyCENSE
|
| 3369 | +
|
| 3370 | +Copy
|
| 3371 | +
|
| 3372 | + use
|
| 3373 | + }
|
| 3374 | +
|
| 3375 | + use
|
| 3376 | + the defaul
|
| 3377 | +o 2008-05-20 * C2
|
| 3378 | + MODE_KEY = 3, break;
|
| 3379 | +/* LICENSE
|
| 3380 | +
|
| 3381 | +CopyCENSE
|
| 3382 | +
|
| 3383 | +Copy
|
| 3384 | +
|
| 3385 | +
|
| 3386 | +
|
| 3387 | +
|
| 3388 | +
|
| 3389 | +pack.c */
|
| 3390 | +? cson_guess_arg_type(pos: use
|
| 3391 | + the defaul
|
| 3392 | +0 != (rc= use
|
| 3393 | + the defaul
|
| 3394 | +o 2008-05-20 * C2
|
| 3395 | + MODE_KEY = 3, break;
|
| 3396 | +/* LICENSE
|
| 3397 | +
|
| 3398 | +CopyCENSE
|
| 3399 | +
|
| 3400 | +Copy
|
| 3401 | +
|
| 3402 | +
|
| 3403 | +
|
| 3404 | +
|
| 3405 | +
|
| 3406 | +pack.c */
|
| 3407 | +0_guess_arg_type(pos: use
|
| 3408 | + t use
|
| 3409 | + MODE_KEY = 3, use
|
| 3410 | + ;
|
| 3411 | + p->c 0 == rc ) use
|
| 3412 | + }ARRAY_END:( ch}/*
|
| 3413 | + refcount the keys! We first need a setter which takes
|
| 3414 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 3415 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 3416 | +# pop ) ownership of it to the
|
| 3417 | + caller. It must eventually be destroyed, by the caller or its
|
| 3418 | + owning or transfering
|
| 3419 | +
|
| 3420 | +void/**
|
| 3421 | + This special-case impl is needed because the underlying
|
| 3422 | + (generic) list operations do not know how to populate
|
| 3423 | + new entries
|
| 3424 | + */ use
|
| 3425 | + the =*arg)){ use
|
| 3426 | + the def use
|
| 3427 | + the defaul
|
| 3428 | +o 2008-05-20 * C2
|
| 3429 | + MODE_KEY = 3, break;
|
| 3430 | +/* LICENSE
|
| 3431 | +
|
| 3432 | +CopyCENSE
|
| 3433 | +
|
| 3434 | +Copy
|
| 3435 | +
|
| 3436 | + use
|
| 3437 | + }
|
| 3438 | +
|
| 3439 | + use
|
| 3440 | + the defaul
|
| 3441 | +o 2008-05-20 * C2
|
| 3442 | + MODE_KEY = 3, break;
|
| 3443 | +/* LICENSE
|
| 3444 | +
|
| 3445 | +CopyCENSE
|
| 3446 | +
|
| 3447 | +Copy
|
| 3448 | +
|
| 3449 | +
|
| 3450 | +
|
| 3451 | +
|
| 3452 | +
|
| 3453 | +pack.c */
|
| 3454 | +? cson_guess_arg_type(pos: use
|
| 3455 | + the defaul
|
| 3456 | +0 != (rc= use
|
| 3457 | + the defaul
|
| 3458 | +o 2008-05-20 * C2
|
| 3459 | + MODE_KEY = 3, break;
|
| 3460 | +/* LICENSE
|
| 3461 | +
|
| 3462 | +CopyCENSE
|
| 3463 | +
|
| 3464 | +Copy
|
| 3465 | +
|
| 3466 | +
|
| 3467 | +
|
| 3468 | +
|
| 3469 | +
|
| 3470 | +pack.c */
|
| 3471 | +0_guess_arg_type(pos: use
|
| 3472 | + t use
|
| 3473 | + MODE_KEY = 3, use
|
| 3474 | + ;
|
| 3475 | + p->c 0 == rc ) use
|
| 3476 | + }Aarye
|
| 3477 | + }
|
| 3478 | +
|
| 3479 | + use
|
| 3480 | + the defaul
|
| 3481 | +o 2008-05-20 * C2
|
| 3482 | + MODE_KEY = 3, break;
|
| 3483 | +/* LICENSE
|
| 3484 | +
|
| 3485 | +CopyCENSE
|
| 3486 | +
|
| 3487 | +Copy
|
| 3488 | +
|
| 3489 | +
|
| 3490 | +
|
| 3491 | +
|
| 3492 | +
|
| 3493 | +pack.c */
|
| 3494 | +? cson_guess_arg_type(pos: use
|
| 3495 | + the defaul
|
| 3496 | +0 != (rc= use
|
| 3497 | + the defaul
|
| 3498 | +o 2008-05-20 * C2
|
| 3499 | + MODE_KEY = 3, break;
|
| 3500 | +/* LICENSE
|
| 3501 | +
|
| 3502 | +CopyCENSE
|
| 3503 | +
|
| 3504 | +Copy
|
| 3505 | +
|
| 3506 | +
|
| 3507 | +
|
| 3508 | +
|
| 3509 | +
|
| 3510 | +pack.c */
|
| 3511 | + defaul
|
| 3512 | +o 2008-05-20 * C2
|
| 3513 | + MODE_KEY = 3, break;
|
| 3514 | +/* LICENSE
|
| 3515 | +
|
| 3516 | +CopyCENSE
|
| 3517 | +
|
| 3518 | +Copy
|
| 3519 | +
|
| 3520 | +
|
| 3521 | +
|
| 3522 | +
|
| 3523 | +
|
| 3524 | +pack.c */
|
| 3525 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3526 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3527 | + use
|
| 3528 | + the defaul
|
| 3529 | +o 2008-05-20 * C2
|
| 3530 | + MODE_KEY = 3, break;
|
| 3531 | +/* LICENSE
|
| 3532 | +
|
| 3533 | +CopyCENSE
|
| 3534 | +
|
| 3535 | +Copy
|
| 3536 | +
|
| 3537 | +
|
| 3538 | +
|
| 3539 | +
|
| 3540 | +
|
| 3541 | +pack.c */
|
| 3542 | +if( use
|
| 3543 | + the clone_shared(ul
|
| 3544 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3545 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3546 | + the def use
|
| 3547 | + the defaul
|
| 3548 | +o 2008-05-20 * C2
|
| 3549 | + MODE_KEY = 3, break;
|
| 3550 | +/* LICENSE
|
| 3551 | +
|
| 3552 | +CopyCENSE
|
| 3553 | +
|
| 3554 | +Copy
|
| 3555 | +
|
| 3556 | + use
|
| 3557 | + }
|
| 3558 | +
|
| 3559 | + use
|
| 3560 | + the defaul
|
| 3561 | +o 2008-05-20 * C2
|
| 3562 | + MODE_KEY = 3, break;
|
| 3563 | +/* LICENSE
|
| 3564 | +
|
| 3565 | +CopyCENSE
|
| 3566 | +
|
| 3567 | +Copy
|
| 3568 | +
|
| 3569 | +
|
| 3570 | +
|
| 3571 | +
|
| 3572 | +
|
| 3573 | +pack.c */
|
| 3574 | +? cson_guess_arg_type(pos: use
|
| 3575 | + the defaul
|
| 3576 | +0 != (rc= use
|
| 3577 | + the defaul
|
| 3578 | +o 2008-05-20 * C2
|
| 3579 | + MODE_KEY = 3, break;
|
| 3580 | +/* LICENSE
|
| 3581 | +
|
| 3582 | +CopyCENSE
|
| 3583 | +
|
| 3584 | +Copy
|
| 3585 | +
|
| 3586 | +
|
| 3587 | +
|
| 3588 | +
|
| 3589 | +
|
| 3590 | +pack.c */
|
| 3591 | +0_guess_arg_type(pos: use
|
| 3592 | + t use
|
| 3593 | + MODE_KEY = 3, use
|
| 3594 | + ;
|
| 3595 | + p->c 0 == rc ) use
|
| 3596 | + }ARRAY_END:( ch}/*
|
| 3597 | + refcount the keys! We first need a setter which takes
|
| 3598 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 3599 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 3600 | +# pop ) ownership of it to the
|
| 3601 | + caller. It must eventually be destroyed, by the caller or its
|
| 3602 | + owning or transfering
|
| 3603 | +
|
| 3604 | +void/**
|
| 3605 | + This special-case impl is needed because the underlying
|
| 3606 | + (generic) list operations do not know how to populate
|
| 3607 | + new entries
|
| 3608 | + */ use
|
| 3609 | + the =*arg)){ use
|
| 3610 | + the def use
|
| 3611 | + the defaul
|
| 3612 | +o 2008-05-20 * C2
|
| 3613 | + MODE_KEY = 3, break;
|
| 3614 | +/* LICENSE
|
| 3615 | +
|
| 3616 | +CopyCENSE
|
| 3617 | +
|
| 3618 | +Copy
|
| 3619 | +
|
| 3620 | + use
|
| 3621 | + }
|
| 3622 | +
|
| 3623 | + use
|
| 3624 | + the defaul
|
| 3625 | +o 2008-05-20 * C2
|
| 3626 | + MODE_KEY = 3, break;
|
| 3627 | +/* LICENSE
|
| 3628 | +
|
| 3629 | +CopyCENSE
|
| 3630 | +
|
| 3631 | +Copy
|
| 3632 | +
|
| 3633 | +
|
| 3634 | +
|
| 3635 | +
|
| 3636 | +
|
| 3637 | +pack.c */
|
| 3638 | +? cson_guess_arg_type(pos: use
|
| 3639 | + the defaul
|
| 3640 | +0 != (rc= use
|
| 3641 | + the defaul
|
| 3642 | +o 2008-05-20 * C2
|
| 3643 | + MODE_KEY = 3, break;
|
| 3644 | +/* LICENSE
|
| 3645 | +
|
| 3646 | +CopyCENSE
|
| 3647 | +
|
| 3648 | +Copy
|
| 3649 | +
|
| 3650 | +
|
| 3651 | +
|
| 3652 | +
|
| 3653 | +
|
| 3654 | +pack.c */
|
| 3655 | +0_guess_arg_type(pos: use
|
| 3656 | + t use
|
| 3657 | + MODE_KEY = 3, use
|
| 3658 | + ;
|
| 3659 | + p->c 0 == rc ) use
|
| 3660 | + }Aaryconst#iaul
|
| 3661 | +o 2008-05-20 ;
|
| 3662 | +/* LDE_KEY = 3, breaul
|
| 3663 | +o 2008-05-20 * C2
|
| 3664 | + MODE_KEY = 3, break;
|
| 3665 | +/* LICENSE
|
| 3666 | +
|
| 3667 | +CopyCENSE
|
| 3668 | +
|
| 3669 | +Copy
|
| 3670 | +
|
| 3671 | +
|
| 3672 | +
|
| 3673 | +
|
| 3674 | +
|
| 3675 | +pack.c */
|
| 3676 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3677 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3678 | + use
|
| 3679 | + the defaul
|
| 3680 | +o 2008-05-20 * C2
|
| 3681 | + MODE_KEY = 3, break;
|
| 3682 | +/* LICENSE
|
| 3683 | +
|
| 3684 | +CopyCENSE
|
| 3685 | +
|
| 3686 | +Copy
|
| 3687 | +
|
| 3688 | +
|
| 3689 | +
|
| 3690 | +
|
| 3691 | +
|
| 3692 | +pack.c */
|
| 3693 | +if( use
|
| 3694 | + the clone_shared(ul
|
| 3695 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3696 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3697 | + the def use
|
| 3698 | + the defaul
|
| 3699 | +o 2008-05-20 * C2
|
| 3700 | + MODE_KEY = 3, break;
|
| 3701 | +/* LICENSE
|
| 3702 | +
|
| 3703 | +CopyCENSE
|
| 3704 | +
|
| 3705 | +Copy
|
| 3706 | +
|
| 3707 | + use
|
| 3708 | + }
|
| 3709 | +
|
| 3710 | + use
|
| 3711 | + the defaul
|
| 3712 | +o 2008-05-20 * C2
|
| 3713 | + MODE_KEY = 3, break;
|
| 3714 | +/* LICENSE
|
| 3715 | +
|
| 3716 | +CopyCENSE
|
| 3717 | +
|
| 3718 | +Copy
|
| 3719 | +
|
| 3720 | +
|
| 3721 | +
|
| 3722 | +
|
| 3723 | +
|
| 3724 | +pack.c */
|
| 3725 | +? cson_guess_arg_type(pos: use
|
| 3726 | + the defaul
|
| 3727 | +0 != (rc= use
|
| 3728 | + the defaul
|
| 3729 | +o 2008-05-20 * C2
|
| 3730 | + MODE_KEY = 3, break;
|
| 3731 | +/* LICENSE
|
| 3732 | +
|
| 3733 | +CopyCENSE
|
| 3734 | +
|
| 3735 | +Copy
|
| 3736 | +
|
| 3737 | +
|
| 3738 | +
|
| 3739 | +
|
| 3740 | +
|
| 3741 | +pack.c */
|
| 3742 | + defaul
|
| 3743 | +o 2008-05-20 * C2
|
| 3744 | + MODE_KEY = 3, break;
|
| 3745 | +/* LICENSE
|
| 3746 | +
|
| 3747 | +CopyCENSE
|
| 3748 | +
|
| 3749 | +Copy
|
| 3750 | +
|
| 3751 | +
|
| 3752 | +
|
| 3753 | +
|
| 3754 | +
|
| 3755 | +pack.c */
|
| 3756 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3757 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3758 | + use
|
| 3759 | + the defaul
|
| 3760 | +o 2008-05-20 * C2
|
| 3761 | + MODE_KEY = 3, break;
|
| 3762 | +/* LICENSE
|
| 3763 | +
|
| 3764 | +CopyCENSE
|
| 3765 | +
|
| 3766 | +Copy
|
| 3767 | +
|
| 3768 | +
|
| 3769 | +
|
| 3770 | +
|
| 3771 | +
|
| 3772 | +pack.c */
|
| 3773 | +if( use
|
| 3774 | + the clone_shared(ul
|
| 3775 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3776 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3777 | + the def use
|
| 3778 | + the defaul
|
| 3779 | +o 2008-05-20 * C2
|
| 3780 | + MODE_KEY = 3, break;
|
| 3781 | +/* LICENSE
|
| 3782 | +
|
| 3783 | +CopyCENSE
|
| 3784 | +
|
| 3785 | +Copy
|
| 3786 | +
|
| 3787 | + use
|
| 3788 | + }
|
| 3789 | +
|
| 3790 | + use
|
| 3791 | + the defaul
|
| 3792 | +o 2008-05-20 * C2
|
| 3793 | + MODE_KEY = 3, break;
|
| 3794 | +/* LICENSE
|
| 3795 | +
|
| 3796 | +CopyCENSE
|
| 3797 | +
|
| 3798 | +Copy
|
| 3799 | +
|
| 3800 | +
|
| 3801 | +
|
| 3802 | +
|
| 3803 | +
|
| 3804 | +pack.c */
|
| 3805 | +? cson_guess_arg_type(pos: use
|
| 3806 | + the defaul
|
| 3807 | +0 != (rc= use
|
| 3808 | + the defaul
|
| 3809 | +o 2008-05-20 * C2
|
| 3810 | + MODE_KEY = 3, break;
|
| 3811 | +/* LICENSE
|
| 3812 | +
|
| 3813 | +CopyCENSE
|
| 3814 | +
|
| 3815 | +Copy
|
| 3816 | +
|
| 3817 | +
|
| 3818 | +
|
| 3819 | +
|
| 3820 | +
|
| 3821 | +pack.c */
|
| 3822 | +0_guess_arg_type(pos: use
|
| 3823 | + t use
|
| 3824 | + MODE_KEY = 3, use
|
| 3825 | + ;
|
| 3826 | + p->c 0 == rc ) use
|
| 3827 | + }ARRAY_END:( ch}/*
|
| 3828 | + refcount the keys! We first need a setter which takes
|
| 3829 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 3830 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 3831 | +# pop ) ownership of it to the
|
| 3832 | + caller. It must eventually be destroyed, by the caller or its
|
| 3833 | + owning or transfering
|
| 3834 | +
|
| 3835 | +void/**
|
| 3836 | + This special-case impl is needed because the underlying
|
| 3837 | + (generic) list operations do not know how to populate
|
| 3838 | + new entries
|
| 3839 | + */ use
|
| 3840 | + the =*arg)){ use
|
| 3841 | + the def use
|
| 3842 | + the defaul
|
| 3843 | +o 2008-05-20 * C2
|
| 3844 | + MODE_KEY = 3, break;
|
| 3845 | +/* LICENSE
|
| 3846 | +
|
| 3847 | +CopyCENSE
|
| 3848 | +
|
| 3849 | +Copy
|
| 3850 | +
|
| 3851 | + use
|
| 3852 | + }
|
| 3853 | +
|
| 3854 | + use
|
| 3855 | + the defaul
|
| 3856 | +o 2008-05-20 * C2
|
| 3857 | + MODE_KEY = 3, break;
|
| 3858 | +/* LICENSE
|
| 3859 | +
|
| 3860 | +CopyCENSE
|
| 3861 | +
|
| 3862 | +Copy
|
| 3863 | +
|
| 3864 | +
|
| 3865 | +
|
| 3866 | +
|
| 3867 | +
|
| 3868 | +pack.c */
|
| 3869 | +? cson_guess_arg_type(pos: use
|
| 3870 | + the defaul
|
| 3871 | +0 != (rc= use
|
| 3872 | + the defaul
|
| 3873 | +o 2008-05-20 * C2
|
| 3874 | + MODE_KEY = 3, break;
|
| 3875 | +/* LICENSE
|
| 3876 | +
|
| 3877 | +CopyCENSE
|
| 3878 | +
|
| 3879 | +Copy
|
| 3880 | +
|
| 3881 | +
|
| 3882 | +
|
| 3883 | +
|
| 3884 | +
|
| 3885 | +pack.c */
|
| 3886 | +0_guess_arg_type(pos: use
|
| 3887 | + t use
|
| 3888 | + MODE_KEY = 3, use
|
| 3889 | + ;
|
| 3890 | + p->c 0 == rc ) use
|
| 3891 | + }Aary use
|
| 3892 | + the the defaul
|
| 3893 | +o 2008-05-20 * C2
|
| 3894 | + MODE_KEY = 3, break;
|
| 3895 | +/* LICENSE
|
| 3896 | +
|
| 3897 | +CopyCENSE
|
| 3898 | +
|
| 3899 | +Copy
|
| 3900 | +
|
| 3901 | +
|
| 3902 | +
|
| 3903 | +
|
| 3904 | +
|
| 3905 | +pack.c */
|
| 3906 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3907 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3908 | + use
|
| 3909 | + the defaul
|
| 3910 | +o 2008-05-20 * C2
|
| 3911 | + MODE_KEY = 3, break;
|
| 3912 | +/* LICENSE
|
| 3913 | +
|
| 3914 | +CopyCENSE
|
| 3915 | +
|
| 3916 | +Copy
|
| 3917 | +
|
| 3918 | +
|
| 3919 | +
|
| 3920 | +
|
| 3921 | +
|
| 3922 | +pack.c */
|
| 3923 | +if( use
|
| 3924 | + the clone_shared(ul
|
| 3925 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 3926 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 3927 | + the def use
|
| 3928 | + the defaul
|
| 3929 | +o 2008-05-20 * C2
|
| 3930 | + MODE_KEY = 3, break;
|
| 3931 | +/* LICENSE
|
| 3932 | +
|
| 3933 | +CopyCENSE
|
| 3934 | +
|
| 3935 | +Copy
|
| 3936 | +
|
| 3937 | + use
|
| 3938 | + }
|
| 3939 | +
|
| 3940 | + use
|
| 3941 | + the defaul
|
| 3942 | +o 2008-05-20 * C2
|
| 3943 | + MODE_KEY = 3, break;
|
| 3944 | +/* LICENSE
|
| 3945 | +
|
| 3946 | +CopyCENSE
|
| 3947 | +
|
| 3948 | +Copy
|
| 3949 | +
|
| 3950 | +
|
| 3951 | +
|
| 3952 | +
|
| 3953 | +
|
| 3954 | +pack.c */
|
| 3955 | +? cson_guess_arg_type(pos: use
|
| 3956 | + the defaul
|
| 3957 | +0 != (rc= use
|
| 3958 | + the defaul
|
| 3959 | +o 2008-05-20 * C2
|
| 3960 | + MODE_KEY = 3, break;
|
| 3961 | +/* LICENSE
|
| 3962 | +
|
| 3963 | +CopyCENSE
|
| 3964 | +
|
| 3965 | +Copy
|
| 3966 | +
|
| 3967 | +
|
| 3968 | +
|
| 3969 | +
|
| 3970 | +
|
| 3971 | +pack.c */
|
| 3972 | + defaul
|
| 3973 | +o 2008-05-20 * C2
|
| 3974 | + MODE_KEY = 3, break;
|
| 3975 | +/* LICENSE
|
| 3976 | +
|
| 3977 | +CopyCENSE
|
| 3978 | +
|
| 3979 | +Copy
|
| 3980 | +
|
| 3981 | +
|
| 3982 | +
|
| 3983 | +
|
| 3984 | +
|
| 3985 | +pack.c */
|
| 3986 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 3987 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 3988 | + use
|
| 3989 | + the defaul
|
| 3990 | +o 2008-05-20 * C2
|
| 3991 | + MODE_KEY = 3, break;
|
| 3992 | +/* LICENSE
|
| 3993 | +
|
| 3994 | +CopyCENSE
|
| 3995 | +
|
| 3996 | +Copy
|
| 3997 | +
|
| 3998 | +
|
| 3999 | +
|
| 4000 | +
|
| 4001 | +
|
| 4002 | +pack.c */
|
| 4003 | +if( use
|
| 4004 | + the clone_shared(ul
|
| 4005 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4006 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4007 | + the def use
|
| 4008 | + the defaul
|
| 4009 | +o 2008-05-20 * C2
|
| 4010 | + MODE_KEY = 3, break;
|
| 4011 | +/* LICENSE
|
| 4012 | +
|
| 4013 | +CopyCENSE
|
| 4014 | +
|
| 4015 | +Copy
|
| 4016 | +
|
| 4017 | + use
|
| 4018 | + }
|
| 4019 | +
|
| 4020 | + use
|
| 4021 | + the defaul
|
| 4022 | +o 2008-05-20 * C2
|
| 4023 | + MODE_KEY = 3, break;
|
| 4024 | +/* LICENSE
|
| 4025 | +
|
| 4026 | +CopyCENSE
|
| 4027 | +
|
| 4028 | +Copy
|
| 4029 | +
|
| 4030 | +
|
| 4031 | +
|
| 4032 | +
|
| 4033 | +
|
| 4034 | +pack.c */
|
| 4035 | +? cson_guess_arg_type(pos: use
|
| 4036 | + the defaul
|
| 4037 | +0 != (rc= use
|
| 4038 | + the defaul
|
| 4039 | +o 2008-05-20 * C2
|
| 4040 | + MODE_KEY = 3, break;
|
| 4041 | +/* LICENSE
|
| 4042 | +
|
| 4043 | +CopyCENSE
|
| 4044 | +
|
| 4045 | +Copy
|
| 4046 | +
|
| 4047 | +
|
| 4048 | +
|
| 4049 | +
|
| 4050 | +
|
| 4051 | +pack.c */
|
| 4052 | +0_guess_arg_type(pos: use
|
| 4053 | + t use
|
| 4054 | + MODE_KEY = 3, use
|
| 4055 | + ;
|
| 4056 | + p->c 0 == rc ) use
|
| 4057 | + }ARRAY_END:( ch}/*
|
| 4058 | + refcount the keys! We first need a setter which takes
|
| 4059 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 4060 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 4061 | +# pop ) ownership of it to the
|
| 4062 | + caller. It must eventually be destroyed, by the caller or its
|
| 4063 | + owning or transfering
|
| 4064 | +
|
| 4065 | +void/**
|
| 4066 | + This special-case impl is needed because the underlying
|
| 4067 | + (generic) list operations do not know how to populate
|
| 4068 | + new entries
|
| 4069 | + */ use
|
| 4070 | + the =*arg)){ use
|
| 4071 | + the def use
|
| 4072 | + the defaul
|
| 4073 | +o 2008-05-20 * C2
|
| 4074 | + MODE_KEY = 3, break;
|
| 4075 | +/* LICENSE
|
| 4076 | +
|
| 4077 | +CopyCENSE
|
| 4078 | +
|
| 4079 | +Copy
|
| 4080 | +
|
| 4081 | + use
|
| 4082 | + }
|
| 4083 | +
|
| 4084 | + use
|
| 4085 | + the defaul
|
| 4086 | +o 2008-05-20 * C2
|
| 4087 | + MODE_KEY = 3, break;
|
| 4088 | +/* LICENSE
|
| 4089 | +
|
| 4090 | +CopyCENSE
|
| 4091 | +
|
| 4092 | +Copy
|
| 4093 | +
|
| 4094 | +
|
| 4095 | +
|
| 4096 | +
|
| 4097 | +
|
| 4098 | +pack.c */
|
| 4099 | +? cson_guess_arg_type(pos: use
|
| 4100 | + the defaul
|
| 4101 | +0 != (rc= use
|
| 4102 | + the defaul
|
| 4103 | +o 2008-05-20 * C2
|
| 4104 | + MODE_KEY = 3, break;
|
| 4105 | +/* LICENSE
|
| 4106 | +
|
| 4107 | +CopyCENSE
|
| 4108 | +
|
| 4109 | +Copy
|
| 4110 | +
|
| 4111 | +
|
| 4112 | +
|
| 4113 | +
|
| 4114 | +
|
| 4115 | +pack.c */
|
| 4116 | +0_guess_arg_type(pos: use
|
| 4117 | + t use
|
| 4118 | + MODE_KEY = 3, use
|
| 4119 | + ;
|
| 4120 | + p->c 0 == rc ) use
|
| 4121 | + }Aarye
|
| 4122 | + }
|
| 4123 | +
|
| 4124 | + use
|
| 4125 | + the defaul
|
| 4126 | +o 2008-05-20 * C2
|
| 4127 | + MODE_KEY = 3, break;
|
| 4128 | +/* LICENSE
|
| 4129 | +
|
| 4130 | +CopyCENSE
|
| 4131 | +
|
| 4132 | +Copy
|
| 4133 | +
|
| 4134 | +
|
| 4135 | +
|
| 4136 | +
|
| 4137 | +
|
| 4138 | +pack.c */
|
| 4139 | +? cson_guess_arg_type(pos: use
|
| 4140 | + the defaul
|
| 4141 | +0 != (rc= use
|
| 4142 | + the defaul
|
| 4143 | +o 2008-05-20 * C2
|
| 4144 | + MODE_KEY = 3, break;
|
| 4145 | +/* LICENSE
|
| 4146 | +
|
| 4147 | +CopyCENSE
|
| 4148 | +
|
| 4149 | +Copy
|
| 4150 | +
|
| 4151 | +
|
| 4152 | +
|
| 4153 | +
|
| 4154 | +
|
| 4155 | +pack.c */
|
| 4156 | + defaul
|
| 4157 | +o 2008-05-20 * C2
|
| 4158 | + MODE_KEY = 3, break;
|
| 4159 | +/* LICENSE
|
| 4160 | +
|
| 4161 | +CopyCENSE
|
| 4162 | +
|
| 4163 | +Copy
|
| 4164 | +
|
| 4165 | +
|
| 4166 | +
|
| 4167 | +
|
| 4168 | +
|
| 4169 | +pack.c */
|
| 4170 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4171 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4172 | + use
|
| 4173 | + the defaul
|
| 4174 | +o 2008-05-20 * C2
|
| 4175 | + MODE_KEY = 3, break;
|
| 4176 | +/* LICENSE
|
| 4177 | +
|
| 4178 | +CopyCENSE
|
| 4179 | +
|
| 4180 | +Copy
|
| 4181 | +
|
| 4182 | +
|
| 4183 | +
|
| 4184 | +
|
| 4185 | +
|
| 4186 | +pack.c */
|
| 4187 | +if( use
|
| 4188 | + the clone_shared(ul
|
| 4189 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4190 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4191 | + the def use
|
| 4192 | + the defaul
|
| 4193 | +o 2008-05-20 * C2
|
| 4194 | + MODE_KEY = 3, break;
|
| 4195 | +/* LICENSE
|
| 4196 | +
|
| 4197 | +CopyCENSE
|
| 4198 | +
|
| 4199 | +Copy
|
| 4200 | +
|
| 4201 | + use
|
| 4202 | + }
|
| 4203 | +
|
| 4204 | + use
|
| 4205 | + the defaul
|
| 4206 | +o 2008-05-20 * C2
|
| 4207 | + MODE_KEY = 3, break;
|
| 4208 | +/* LICENSE
|
| 4209 | +
|
| 4210 | +CopyCENSE
|
| 4211 | +
|
| 4212 | +Copy
|
| 4213 | +
|
| 4214 | +
|
| 4215 | +
|
| 4216 | +
|
| 4217 | +
|
| 4218 | +pack.c */
|
| 4219 | +? cson_guess_arg_type(pos: use
|
| 4220 | + the defaul
|
| 4221 | +0 != (rc= use
|
| 4222 | + the defaul
|
| 4223 | +o 2008-05-20 * C2
|
| 4224 | + MODE_KEY = 3, break;
|
| 4225 | +/* LICENSE
|
| 4226 | +
|
| 4227 | +CopyCENSE
|
| 4228 | +
|
| 4229 | +Copy
|
| 4230 | +
|
| 4231 | +
|
| 4232 | +
|
| 4233 | +
|
| 4234 | +
|
| 4235 | +pack.c */
|
| 4236 | +0_guess_arg_type(pos: use
|
| 4237 | + t use
|
| 4238 | + MODE_KEY = 3, use
|
| 4239 | + ;
|
| 4240 | + p->c 0 == rc ) use
|
| 4241 | + }ARRAY_END:( ch}/*
|
| 4242 | + refcount the keys! We first need a setter which takes
|
| 4243 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 4244 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 4245 | +# pop ) ownership of it to the
|
| 4246 | + caller. It must eventually be destroyed, by the caller or its
|
| 4247 | + owning or transfering
|
| 4248 | +
|
| 4249 | +void/**
|
| 4250 | + This special-case impl is needed because the underlying
|
| 4251 | + (generic) list operations do not know how to populate
|
| 4252 | + new entries
|
| 4253 | + */ use
|
| 4254 | + the =*arg)){ use
|
| 4255 | + the def use
|
| 4256 | + the defaul
|
| 4257 | +o 2008-05-20 * C2
|
| 4258 | + MODE_KEY = 3, break;
|
| 4259 | +/* LICENSE
|
| 4260 | +
|
| 4261 | +CopyCENSE
|
| 4262 | +
|
| 4263 | +Copy
|
| 4264 | +
|
| 4265 | + use
|
| 4266 | + }
|
| 4267 | +
|
| 4268 | + use
|
| 4269 | + the defaul
|
| 4270 | +o 20aul
|
| 4271 | +o 2008-05-20 * C2
|
| 4272 | + MODE_KEY = 3, break;
|
| 4273 | +/* LICENSE
|
| 4274 | +
|
| 4275 | +CopyCENSE
|
| 4276 | +
|
| 4277 | +Copy
|
| 4278 | +
|
| 4279 | +
|
| 4280 | +
|
| 4281 | +
|
| 4282 | +
|
| 4283 | +pack.c */
|
| 4284 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4285 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4286 | + use
|
| 4287 | + the defaul
|
| 4288 | +o 2008-05-20 * C2
|
| 4289 | + MODE_KEY = 3, break;
|
| 4290 | +/* LICENSE
|
| 4291 | +
|
| 4292 | +CopyCENSE
|
| 4293 | +
|
| 4294 | +Copy
|
| 4295 | +
|
| 4296 | +
|
| 4297 | +
|
| 4298 | +
|
| 4299 | +
|
| 4300 | +pack.c */
|
| 4301 | +if( use
|
| 4302 | + the clone_shared(ul
|
| 4303 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4304 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4305 | + the def use
|
| 4306 | + the defaul
|
| 4307 | +o 2008-05-20 * C2
|
| 4308 | + MODE_KEY = 3, break;
|
| 4309 | +/* LICENSE
|
| 4310 | +
|
| 4311 | +CopyCENSE
|
| 4312 | +
|
| 4313 | +Copy
|
| 4314 | +
|
| 4315 | + use
|
| 4316 | + }
|
| 4317 | +
|
| 4318 | + use
|
| 4319 | + the defaul
|
| 4320 | +o 2008-05-20 * C2
|
| 4321 | + MODE_KEY = 3, break;
|
| 4322 | +/* LICENSE
|
| 4323 | +
|
| 4324 | +CopyCENSE
|
| 4325 | +
|
| 4326 | +Copy
|
| 4327 | +
|
| 4328 | +
|
| 4329 | +
|
| 4330 | +
|
| 4331 | +
|
| 4332 | +pack.c */
|
| 4333 | +? cson_guess_arg_type(pos: use
|
| 4334 | + the defaul
|
| 4335 | +0 != (rc= use
|
| 4336 | + the defaul
|
| 4337 | +o 2008-05-20 * C2
|
| 4338 | + MODE_KEY = 3, break;
|
| 4339 | +/* LICENSE
|
| 4340 | +
|
| 4341 | +CopyCENSE
|
| 4342 | +
|
| 4343 | +Copy
|
| 4344 | +
|
| 4345 | +
|
| 4346 | +
|
| 4347 | +
|
| 4348 | +
|
| 4349 | +pack.c */
|
| 4350 | + defaul
|
| 4351 | +o 2008-05-20 * C2
|
| 4352 | + MODE_KEY = 3, break;
|
| 4353 | +/* LICENSE
|
| 4354 | +
|
| 4355 | +CopyCENSE
|
| 4356 | +
|
| 4357 | +Copy
|
| 4358 | +
|
| 4359 | +
|
| 4360 | +
|
| 4361 | +
|
| 4362 | +
|
| 4363 | +pack.c */
|
| 4364 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4365 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4366 | + use
|
| 4367 | + the defaul
|
| 4368 | +o 2008-05-20 * C2
|
| 4369 | + MODE_KEY = 3, break;
|
| 4370 | +/* LICENSE
|
| 4371 | +
|
| 4372 | +CopyCENSE
|
| 4373 | +
|
| 4374 | +Copy
|
| 4375 | +
|
| 4376 | +
|
| 4377 | +
|
| 4378 | +
|
| 4379 | +
|
| 4380 | +pack.c */
|
| 4381 | +if( use
|
| 4382 | + the clone_shared(ul
|
| 4383 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4384 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4385 | + the def use
|
| 4386 | + the defaul
|
| 4387 | +o 2008-05-20 * C2
|
| 4388 | + MODE_KEY = 3, break;
|
| 4389 | +/* LICENSE
|
| 4390 | +
|
| 4391 | +CopyCENSE
|
| 4392 | +
|
| 4393 | +Copy
|
| 4394 | +
|
| 4395 | + use
|
| 4396 | + }
|
| 4397 | +
|
| 4398 | + use
|
| 4399 | + the defaul
|
| 4400 | +o 2008-05-20 * C2
|
| 4401 | + MODE_KEY = 3, break;
|
| 4402 | +/* LICENSE
|
| 4403 | +
|
| 4404 | +CopyCENSE
|
| 4405 | +
|
| 4406 | +Copy
|
| 4407 | +
|
| 4408 | +
|
| 4409 | +
|
| 4410 | +
|
| 4411 | +
|
| 4412 | +pack.c */
|
| 4413 | +? cson_guess_arg_type(pos: use
|
| 4414 | + the defaul
|
| 4415 | +0 != (rc= use
|
| 4416 | + the defaul
|
| 4417 | +o 2008-05-20 * C2
|
| 4418 | + MODE_KEY = 3, break;
|
| 4419 | +/* LICENSE
|
| 4420 | +
|
| 4421 | +CopyCENSE
|
| 4422 | +
|
| 4423 | +Copy
|
| 4424 | +
|
| 4425 | +
|
| 4426 | +
|
| 4427 | +
|
| 4428 | +
|
| 4429 | +pack.c */
|
| 4430 | +0_guess_arg_type(pos: use
|
| 4431 | + t use
|
| 4432 | + MODE_KEY = 3, use
|
| 4433 | + ;
|
| 4434 | + p->c 0 == rc ) use
|
| 4435 | + }ARRAY_END:( ch}/*
|
| 4436 | + refcount the keys! We first need a setter which takes
|
| 4437 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 4438 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,,W@O4l,_@YNG,L@blG,G@8RG,TX@1q,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 4439 | +# pop ) ownership of it to the
|
| 4440 | + caller. It must eventually be destroyed, by the caller or its
|
| 4441 | + owning or transfering
|
| 4442 | +
|
| 4443 | +void/**
|
| 4444 | + This special-case impl is needed because the underlying
|
| 4445 | + (generic) list operations do not know how to populate
|
| 4446 | + new entries
|
| 4447 | + */ use
|
| 4448 | + the =*arg)){ use
|
| 4449 | + the def use
|
| 4450 | + the defaul
|
| 4451 | +o 2008-05-20 * C2
|
| 4452 | + MODE_KEY = 3, break;
|
| 4453 | +/* LICENSE
|
| 4454 | +
|
| 4455 | +CopyCENSE
|
| 4456 | +
|
| 4457 | +Copy
|
| 4458 | +
|
| 4459 | + use
|
| 4460 | + }
|
| 4461 | +
|
| 4462 | + use
|
| 4463 | + the defaul
|
| 4464 | +o 2008-05-20 * C2
|
| 4465 | + MODE_KEY = 3, break;
|
| 4466 | +/* LICENSE
|
| 4467 | +
|
| 4468 | +CopyCENSE
|
| 4469 | +
|
| 4470 | +Copy
|
| 4471 | +
|
| 4472 | +
|
| 4473 | +
|
| 4474 | +
|
| 4475 | +
|
| 4476 | +pack.c */
|
| 4477 | +? cson_guess_arg_type(pos: use
|
| 4478 | + the defaul
|
| 4479 | +0 != (rc= use
|
| 4480 | + the defaul
|
| 4481 | +o 2008-05-20 * C2
|
| 4482 | + MODE_KEY = 3, break;
|
| 4483 | +/* LICENSE
|
| 4484 | +
|
| 4485 | +CopyCENSE
|
| 4486 | +
|
| 4487 | +Copy
|
| 4488 | +
|
| 4489 | +
|
| 4490 | +
|
| 4491 | +
|
| 4492 | +
|
| 4493 | +pack.c */
|
| 4494 | +0_guess_arg_type(pos: use
|
| 4495 | + t use
|
| 4496 | + MODE_KEY = 3, use
|
| 4497 | + ;
|
| 4498 | + p->c 0 == rc ) use
|
| 4499 | + }Aary use
|
| 4500 | + the the defaul
|
| 4501 | +o 2008-05-20 * C2
|
| 4502 | + MODE_KEY = 3, break;
|
| 4503 | +/* LICENSE
|
| 4504 | +
|
| 4505 | +CopyCENSE
|
| 4506 | +
|
| 4507 | +Copy
|
| 4508 | +
|
| 4509 | +
|
| 4510 | +
|
| 4511 | +
|
| 4512 | +
|
| 4513 | +pack.c */
|
| 4514 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4515 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4516 | + use
|
| 4517 | + the defaul
|
| 4518 | +o 2008-05-20 * C2
|
| 4519 | + MODE_KEY = 3, break;
|
| 4520 | +/* LICENSE
|
| 4521 | +
|
| 4522 | +CopyCENSE
|
| 4523 | +
|
| 4524 | +Copy
|
| 4525 | +
|
| 4526 | +
|
| 4527 | +
|
| 4528 | +
|
| 4529 | +
|
| 4530 | +pack.c */
|
| 4531 | +if( use
|
| 4532 | + the clone_shared(ul
|
| 4533 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4534 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4535 | + the def use
|
| 4536 | + the defaul
|
| 4537 | +o 2008-05-20 * C2
|
| 4538 | + MODE_KEY = 3, break;
|
| 4539 | +/* LICENSE
|
| 4540 | +
|
| 4541 | +CopyCENSE
|
| 4542 | +
|
| 4543 | +Copy
|
| 4544 | +
|
| 4545 | + use
|
| 4546 | + }
|
| 4547 | +
|
| 4548 | + use
|
| 4549 | + the defaul
|
| 4550 | +o 2008-05-20 * C2
|
| 4551 | + MODE_KEY = 3, break;
|
| 4552 | +/* LICENSE
|
| 4553 | +
|
| 4554 | +CopyCENSE
|
| 4555 | +
|
| 4556 | +Copy
|
| 4557 | +
|
| 4558 | +
|
| 4559 | +
|
| 4560 | +
|
| 4561 | +
|
| 4562 | +pack.c */
|
| 4563 | +? cson_guess_arg_type(pos: use
|
| 4564 | + the defaul
|
| 4565 | +0 != (rc= use
|
| 4566 | + the defaul
|
| 4567 | +o 2008-05-20 * C2
|
| 4568 | + MODE_KEY = 3, break;
|
| 4569 | +/* LICENSE
|
| 4570 | +
|
| 4571 | +CopyCENSE
|
| 4572 | +
|
| 4573 | +Copy
|
| 4574 | +
|
| 4575 | +
|
| 4576 | +
|
| 4577 | +
|
| 4578 | +
|
| 4579 | +pack.c */
|
| 4580 | + defaul
|
| 4581 | +o 2008-05-20 * C2
|
| 4582 | + MODE_KEY = 3, break;
|
| 4583 | +/* LICENSE
|
| 4584 | +
|
| 4585 | +CopyCENSE
|
| 4586 | +
|
| 4587 | +Copy
|
| 4588 | +
|
| 4589 | +
|
| 4590 | +
|
| 4591 | +
|
| 4592 | +
|
| 4593 | +pack.c */
|
| 4594 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4595 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4596 | + use
|
| 4597 | + the defaul
|
| 4598 | +o 2008-05-20 * C2
|
| 4599 | + MODE_KEY = 3, break;
|
| 4600 | +/* LICENSE
|
| 4601 | +
|
| 4602 | +CopyCENSE
|
| 4603 | +
|
| 4604 | +Copy
|
| 4605 | +
|
| 4606 | +
|
| 4607 | +
|
| 4608 | +
|
| 4609 | +
|
| 4610 | +pack.c */
|
| 4611 | +if( use
|
| 4612 | + the clone_shared(ul
|
| 4613 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4614 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4615 | + the def use
|
| 4616 | + the defaul
|
| 4617 | +o 2008-05-20 * C2
|
| 4618 | + MODE_KEY = 3, break;
|
| 4619 | +/* LICENSE
|
| 4620 | +
|
| 4621 | +CopyCENSE
|
| 4622 | +
|
| 4623 | +Copy
|
| 4624 | +
|
| 4625 | + use
|
| 4626 | + }
|
| 4627 | +
|
| 4628 | + use
|
| 4629 | + the defaul
|
| 4630 | +o 2008-05-20 * C2
|
| 4631 | + MODE_KEY = 3, break;
|
| 4632 | +/* LICENSE
|
| 4633 | +
|
| 4634 | +CopyCENSE
|
| 4635 | +
|
| 4636 | +Copy
|
| 4637 | +
|
| 4638 | +
|
| 4639 | +
|
| 4640 | +
|
| 4641 | +
|
| 4642 | +pack.c */
|
| 4643 | +? cson_guess_arg_type(pos: use
|
| 4644 | + the defaul
|
| 4645 | +0 != (rc= use
|
| 4646 | + the defaul
|
| 4647 | +o 2008-05-20 * C2
|
| 4648 | + MODE_KEY = 3, break;
|
| 4649 | +/* LICENSE
|
| 4650 | +
|
| 4651 | +CopyCENSE
|
| 4652 | +
|
| 4653 | +Copy
|
| 4654 | +
|
| 4655 | +
|
| 4656 | +
|
| 4657 | +
|
| 4658 | +
|
| 4659 | +pack.c */
|
| 4660 | +0_guess_arg_type(pos: use
|
| 4661 | + t use
|
| 4662 | + MODE_KEY = 3, use
|
| 4663 | + ;
|
| 4664 | + p->c 0 == rc ) use
|
| 4665 | + }ARRAY_END:( ch}/*
|
| 4666 | + refcount the keys! We first need a setter which takes
|
| 4667 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 4668 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 4669 | +# pop ) ownership of it to the
|
| 4670 | + caller. It must eventually be destroyed, by the caller or its
|
| 4671 | + owning or transfering
|
| 4672 | +
|
| 4673 | +void/**
|
| 4674 | + This special-case impl is needed because the underlying
|
| 4675 | + (generic) list operations do not know how to populate
|
| 4676 | + new entries
|
| 4677 | + */ use
|
| 4678 | + the =*arg)){ use
|
| 4679 | + the def use
|
| 4680 | + the defaul
|
| 4681 | +o 2008-05-20 * C2
|
| 4682 | + MODE_KEY = 3, break;
|
| 4683 | +/* LICENSE
|
| 4684 | +
|
| 4685 | +CopyCENSE
|
| 4686 | +
|
| 4687 | +Copy
|
| 4688 | +
|
| 4689 | + use
|
| 4690 | + }
|
| 4691 | +
|
| 4692 | + use
|
| 4693 | + the defaul
|
| 4694 | +o 2008-05-20 * C2
|
| 4695 | + MODE_KEY = 3, break;
|
| 4696 | +/* LICENSE
|
| 4697 | +
|
| 4698 | +CopyCENSE
|
| 4699 | +
|
| 4700 | +Copy
|
| 4701 | +
|
| 4702 | +
|
| 4703 | +
|
| 4704 | +
|
| 4705 | +
|
| 4706 | +pack.c */
|
| 4707 | +? cson_guess_arg_type(pos: use
|
| 4708 | + the defaul
|
| 4709 | +0 != (rc= use
|
| 4710 | + the defaul
|
| 4711 | +o 2008-05-20 * C2
|
| 4712 | + MODE_KEY = 3, break;
|
| 4713 | +/* LICENSE
|
| 4714 | +
|
| 4715 | +CopyCENSE
|
| 4716 | +
|
| 4717 | +Copy
|
| 4718 | +
|
| 4719 | +
|
| 4720 | +
|
| 4721 | +
|
| 4722 | +
|
| 4723 | +pack.c */
|
| 4724 | +0_guess_arg_type(pos: use
|
| 4725 | + t use
|
| 4726 | + MODE_KEY = 3, use
|
| 4727 | + ;
|
| 4728 | + p->c 0 == rc ) use
|
| 4729 | + }Aarye
|
| 4730 | + }
|
| 4731 | +
|
| 4732 | + use
|
| 4733 | + the defaul
|
| 4734 | +o 2008-05-20 * C2
|
| 4735 | + MODE_KEY = 3, break;
|
| 4736 | +/* LICENSE
|
| 4737 | +
|
| 4738 | +CopyCENSE
|
| 4739 | +
|
| 4740 | +Copy
|
| 4741 | +
|
| 4742 | +
|
| 4743 | +
|
| 4744 | +
|
| 4745 | +
|
| 4746 | +pack.c */
|
| 4747 | +? cson_guess_arg_type(pos: use
|
| 4748 | + the defaul
|
| 4749 | +0 != (rc= use
|
| 4750 | + the defaul
|
| 4751 | +o 2008-05-20 * C2
|
| 4752 | + MODE_KEY = 3, break;
|
| 4753 | +/* LICENSE
|
| 4754 | +
|
| 4755 | +CopyCENSE
|
| 4756 | +
|
| 4757 | +Copy
|
| 4758 | +
|
| 4759 | +
|
| 4760 | +
|
| 4761 | +
|
| 4762 | +
|
| 4763 | +pack.c */
|
| 4764 | + defaul
|
| 4765 | +o 2008-05-20 * C2
|
| 4766 | + MODE_KEY = 3, break;
|
| 4767 | +/* LICENSE
|
| 4768 | +
|
| 4769 | +CopyCENSE
|
| 4770 | +
|
| 4771 | +Copy
|
| 4772 | +
|
| 4773 | +
|
| 4774 | +
|
| 4775 | +
|
| 4776 | +
|
| 4777 | +pack.c */
|
| 4778 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4779 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4780 | + use
|
| 4781 | + the defaul
|
| 4782 | +o 2008-05-20 * C2
|
| 4783 | + MODE_KEY = 3, break;
|
| 4784 | +/* LICENSE
|
| 4785 | +
|
| 4786 | +CopyCENSE
|
| 4787 | +
|
| 4788 | +Copy
|
| 4789 | +
|
| 4790 | +
|
| 4791 | +
|
| 4792 | +
|
| 4793 | +
|
| 4794 | +pack.c */
|
| 4795 | +if( use
|
| 4796 | + the clone_shared(ul
|
| 4797 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4798 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4799 | + the def use
|
| 4800 | + the defaul
|
| 4801 | +o 2008-05-20 * C2
|
| 4802 | + MODE_KEY = 3, break;
|
| 4803 | +/* LICENSE
|
| 4804 | +
|
| 4805 | +CopyCENSE
|
| 4806 | +
|
| 4807 | +Copy
|
| 4808 | +
|
| 4809 | + use
|
| 4810 | + }
|
| 4811 | +
|
| 4812 | + use
|
| 4813 | + the defaul
|
| 4814 | +o 2008-05-20 * C2
|
| 4815 | + MODE_KEY = 3, break;
|
| 4816 | +/* LICENSE
|
| 4817 | +
|
| 4818 | +CopyCENSE
|
| 4819 | +
|
| 4820 | +Copy
|
| 4821 | +
|
| 4822 | +
|
| 4823 | +
|
| 4824 | +
|
| 4825 | +
|
| 4826 | +pack.c */
|
| 4827 | +? cson_guess_arg_type(pos: use
|
| 4828 | + the defaul
|
| 4829 | +0 != (rc= use
|
| 4830 | + the defaul
|
| 4831 | +o 2008-05-20 * C2
|
| 4832 | + MODE_KEY = 3, break;
|
| 4833 | +/* LICENSE
|
| 4834 | +
|
| 4835 | +CopyCENSE
|
| 4836 | +
|
| 4837 | +Copy
|
| 4838 | +
|
| 4839 | +
|
| 4840 | +
|
| 4841 | +
|
| 4842 | +
|
| 4843 | +pack.c */
|
| 4844 | +0_guess_arg_type(pos: use
|
| 4845 | + t use
|
| 4846 | + MODE_KEY = 3, use
|
| 4847 | + ;
|
| 4848 | + p->c 0 == rc ) use
|
| 4849 | + }ARRAY_END:( ch}/*
|
| 4850 | + refcount the keys! We first need a setter which takes
|
| 4851 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 4852 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 4853 | +# pop ) ownership of it to the
|
| 4854 | + caller. It must eventually be destroyed, by the caller or its
|
| 4855 | + owning or transfering
|
| 4856 | +
|
| 4857 | +void/**
|
| 4858 | + This special-case impl is needed because the underlying
|
| 4859 | + (generic) list operations do not know how to populate
|
| 4860 | + new entries
|
| 4861 | + */ use
|
| 4862 | + the =*arg)){ use
|
| 4863 | + the def use
|
| 4864 | + the defaul
|
| 4865 | +o 2008-05-20 * C2
|
| 4866 | + MODE_KEY = 3, break;
|
| 4867 | +/* LICENSE
|
| 4868 | +
|
| 4869 | +CopyCENSE
|
| 4870 | +
|
| 4871 | +Copy
|
| 4872 | +
|
| 4873 | + use
|
| 4874 | + }
|
| 4875 | +
|
| 4876 | + use
|
| 4877 | + the defaul
|
| 4878 | +o 2008-05-20 * C2
|
| 4879 | + MODE_KEY = 3, break;
|
| 4880 | +/* LICENSE
|
| 4881 | +
|
| 4882 | +CopyCENSE
|
| 4883 | +
|
| 4884 | +Copy
|
| 4885 | +
|
| 4886 | +
|
| 4887 | +
|
| 4888 | +
|
| 4889 | +
|
| 4890 | +pack.c */
|
| 4891 | +? cson_guess_arg_type(pos: use
|
| 4892 | + the defaul
|
| 4893 | +0 != (rc= use
|
| 4894 | + the defaul
|
| 4895 | +o 2008-05-20 * C2
|
| 4896 | + MODE_KEY = 3, break;
|
| 4897 | +/* LICENSE
|
| 4898 | +
|
| 4899 | +CopyCENSE
|
| 4900 | +
|
| 4901 | +Copy
|
| 4902 | +
|
| 4903 | +
|
| 4904 | +
|
| 4905 | +
|
| 4906 | +
|
| 4907 | +pack.c */
|
| 4908 | +0_guess_arg_type(pos: use
|
| 4909 | + t use
|
| 4910 | + MODE_KEY = 3, use
|
| 4911 | + ;
|
| 4912 | + p->c 0 == rc ) use
|
| 4913 | + }Aarye defaul
|
| 4914 | +o 2008-05-20 * C2
|
| 4915 | + MODE_KEY = 3, break;
|
| 4916 | +/* LICENSE
|
| 4917 | +
|
| 4918 | +CopyCENSE
|
| 4919 | +
|
| 4920 | +Copy
|
| 4921 | +
|
| 4922 | + use
|
| 4923 | + }
|
| 4924 | +
|
| 4925 | + use
|
| 4926 | + the defaul
|
| 4927 | +o 2008-05-20 * C2
|
| 4928 | + MODE_KEY = 3, break;
|
| 4929 | +/* LICENSE
|
| 4930 | +
|
| 4931 | +CopyCENSE
|
| 4932 | +
|
| 4933 | +Copy
|
| 4934 | +
|
| 4935 | +
|
| 4936 | +
|
| 4937 | +
|
| 4938 | +
|
| 4939 | +pack.c */
|
| 4940 | +? cson_guess_arg_type(pos: use
|
| 4941 | + the defaul
|
| 4942 | +0 != (rc= use
|
| 4943 | + the defaul
|
| 4944 | +o 2008-05-20 * C2
|
| 4945 | + MODE_KEY = 3, break;
|
| 4946 | +/* LICENSE
|
| 4947 | +
|
| 4948 | +CopyCENSE
|
| 4949 | +
|
| 4950 | +Copy
|
| 4951 | +
|
| 4952 | +
|
| 4953 | +
|
| 4954 | +
|
| 4955 | +
|
| 4956 | +pack.c */
|
| 4957 | + defaul
|
| 4958 | +o 2008-05-20 * C2
|
| 4959 | + MODE_KEY = 3, break;
|
| 4960 | +/* LICENSE
|
| 4961 | +
|
| 4962 | +CopyCENSE
|
| 4963 | +
|
| 4964 | +Copy
|
| 4965 | +
|
| 4966 | +
|
| 4967 | +
|
| 4968 | +
|
| 4969 | +
|
| 4970 | +pack.c */
|
| 4971 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 4972 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 4973 | + use
|
| 4974 | + the defaul
|
| 4975 | +o 2008-05-20 * C2
|
| 4976 | + MODE_KEY = 3, break;
|
| 4977 | +/* LICENSE
|
| 4978 | +
|
| 4979 | +CopyCENSE
|
| 4980 | +
|
| 4981 | +Copy
|
| 4982 | +
|
| 4983 | +
|
| 4984 | +
|
| 4985 | +
|
| 4986 | +
|
| 4987 | +pack.c */
|
| 4988 | +if( use
|
| 4989 | + the clone_shared(ul
|
| 4990 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 4991 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 4992 | + the def use
|
| 4993 | + the defaul
|
| 4994 | +o 2008-05-20 * C2
|
| 4995 | + MODE_KEY = 3, break;
|
| 4996 | +/* LICENSE
|
| 4997 | +
|
| 4998 | +CopyCENSE
|
| 4999 | +
|
| 5000 | +Copy
|
| 5001 | +
|
| 5002 | + use
|
| 5003 | + }
|
| 5004 | +
|
| 5005 | + use
|
| 5006 | + the defaul
|
| 5007 | +o 2008-05-20 * C2
|
| 5008 | + MODE_KEY = 3, break;
|
| 5009 | +/* LICENSE
|
| 5010 | +
|
| 5011 | +CopyCENSE
|
| 5012 | +
|
| 5013 | +Copy
|
| 5014 | +
|
| 5015 | +
|
| 5016 | +
|
| 5017 | +
|
| 5018 | +
|
| 5019 | +pack.c */
|
| 5020 | +? cson_guess_arg_type(pos: use
|
| 5021 | + the defaul
|
| 5022 | +0 != (rc= use
|
| 5023 | + the defaul
|
| 5024 | +o 2008-05-20 * C2
|
| 5025 | + MODE_KEY = 3, break;
|
| 5026 | +/* LICENSE
|
| 5027 | +
|
| 5028 | +CopyCENSE
|
| 5029 | +
|
| 5030 | +Copy
|
| 5031 | +
|
| 5032 | +
|
| 5033 | +
|
| 5034 | +
|
| 5035 | +
|
| 5036 | +pack.c */
|
| 5037 | +0_guess_arg_type(pos: use
|
| 5038 | + t use
|
| 5039 | + MODE_KEY = 3, use
|
| 5040 | + ;
|
| 5041 | + p->c 0 == rc ) use
|
| 5042 | + }ARRAY_END:( ch}/*
|
| 5043 | + refcount the keys! We first need a setter which takes
|
| 5044 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 5045 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 5046 | +# pop ) ownership of it to the
|
| 5047 | + caller. It must eventually be destroyed, by the caller or its
|
| 5048 | + owning or transfering
|
| 5049 | +
|
| 5050 | +void/**
|
| 5051 | + This special-case impl is needed because the underlying
|
| 5052 | + (generic) list operations do not know how to populate
|
| 5053 | + new entries
|
| 5054 | + */ use
|
| 5055 | + the =*arg)){ use
|
| 5056 | + the def use
|
| 5057 | + the defaul
|
| 5058 | +o 2008-05-20 * C2
|
| 5059 | + MODE_KEY = 3, break;
|
| 5060 | +/* LICENSE
|
| 5061 | +
|
| 5062 | +CopyCENSE
|
| 5063 | +
|
| 5064 | +Copy
|
| 5065 | +
|
| 5066 | + use
|
| 5067 | + }
|
| 5068 | +
|
| 5069 | + use
|
| 5070 | + the defaul
|
| 5071 | +o 2008-05-20 * C2
|
| 5072 | + MODE_KEY = 3, break;
|
| 5073 | +/* LICENSE
|
| 5074 | +
|
| 5075 | +CopyCENSE
|
| 5076 | +
|
| 5077 | +Copy
|
| 5078 | +
|
| 5079 | +
|
| 5080 | +
|
| 5081 | +
|
| 5082 | +
|
| 5083 | +pack.c */
|
| 5084 | +? cson_guess_arg_type(pos: use
|
| 5085 | + the defaul
|
| 5086 | +0 != (rc= use
|
| 5087 | + the defaul
|
| 5088 | +o 2008-05-20 * C2
|
| 5089 | + MODE_KEY = 3, break;
|
| 5090 | +/* LICENSE
|
| 5091 | +
|
| 5092 | +CopyCENSE
|
| 5093 | +
|
| 5094 | +Copy
|
| 5095 | +
|
| 5096 | +
|
| 5097 | +
|
| 5098 | +
|
| 5099 | +
|
| 5100 | +pack.c */
|
| 5101 | +0_guess_arg_type(pos: use
|
| 5102 | + t use
|
| 5103 | + MODE_KEY = 3, use
|
| 5104 | + ;
|
| 5105 | + p->c 0 == rc ) use
|
| 5106 | + }Aary use
|
| 5107 | + the the defaul
|
| 5108 | +o 2008-05-20 * C2
|
| 5109 | + MODE_KEY = 3, break;
|
| 5110 | +/* LICENSE
|
| 5111 | +
|
| 5112 | +CopyCENSE
|
| 5113 | +
|
| 5114 | +Copy
|
| 5115 | +
|
| 5116 | +
|
| 5117 | +
|
| 5118 | +
|
| 5119 | +
|
| 5120 | +pack.c */
|
| 5121 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5122 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5123 | + use
|
| 5124 | + the defaul
|
| 5125 | +o 2008-05-20 * C2
|
| 5126 | + MODE_KEY = 3, break;
|
| 5127 | +/* LICENSE
|
| 5128 | +
|
| 5129 | +CopyCENSE
|
| 5130 | +
|
| 5131 | +Copy
|
| 5132 | +
|
| 5133 | +
|
| 5134 | +
|
| 5135 | +
|
| 5136 | +
|
| 5137 | +pack.c */
|
| 5138 | +if( use
|
| 5139 | + the clone_shared(ul
|
| 5140 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 5141 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 5142 | + the def use
|
| 5143 | + the defaul
|
| 5144 | +o 2008-05-20 * C2
|
| 5145 | + MODE_KEY = 3, break;
|
| 5146 | +/* LICENSE
|
| 5147 | +
|
| 5148 | +CopyCENSE
|
| 5149 | +
|
| 5150 | +Copy
|
| 5151 | +
|
| 5152 | + use
|
| 5153 | + }
|
| 5154 | +
|
| 5155 | + use
|
| 5156 | + the defaul
|
| 5157 | +o 2008-05-20 * C2
|
| 5158 | + MODE_KEY = 3, break;
|
| 5159 | +/* LICENSE
|
| 5160 | +
|
| 5161 | +CopyCENSE
|
| 5162 | +
|
| 5163 | +Copy
|
| 5164 | +
|
| 5165 | +
|
| 5166 | +
|
| 5167 | +
|
| 5168 | +
|
| 5169 | +pack.c */
|
| 5170 | +? cson_guess_arg_type(pos: use
|
| 5171 | + the defaul
|
| 5172 | +0 != (rc= use
|
| 5173 | + the defaul
|
| 5174 | +o 2008-05-20 * C2
|
| 5175 | + MODE_KEY = 3, break;
|
| 5176 | +/* LICENSE
|
| 5177 | +
|
| 5178 | +CopyCENSE
|
| 5179 | +
|
| 5180 | +Copy
|
| 5181 | +
|
| 5182 | +
|
| 5183 | +
|
| 5184 | +
|
| 5185 | +
|
| 5186 | +pack.c */
|
| 5187 | + defaul
|
| 5188 | +o 2008-05-20 * C2
|
| 5189 | + MODE_KEY = 3, break;
|
| 5190 | +/* LICENSE
|
| 5191 | +
|
| 5192 | +CopyCENSE
|
| 5193 | +
|
| 5194 | +Copy
|
| 5195 | +
|
| 5196 | +
|
| 5197 | +
|
| 5198 | +
|
| 5199 | +
|
| 5200 | +pack.c */
|
| 5201 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5202 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5203 | + use
|
| 5204 | + the defaul
|
| 5205 | +o 2008-05-20 * C2
|
| 5206 | + MODE_KEY = 3, break;
|
| 5207 | +/* LICENSE
|
| 5208 | +
|
| 5209 | +CopyCENSE
|
| 5210 | +
|
| 5211 | +Copy
|
| 5212 | +
|
| 5213 | +
|
| 5214 | +
|
| 5215 | +
|
| 5216 | +
|
| 5217 | +pack.c */
|
| 5218 | +if( use
|
| 5219 | + the clone_shared(ul
|
| 5220 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 5221 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 5222 | + the def use
|
| 5223 | + the defaul
|
| 5224 | +o 2008-05-20 * C2
|
| 5225 | + MODE_KEY = 3, break;
|
| 5226 | +/* LICENSE
|
| 5227 | +
|
| 5228 | +CopyCENSE
|
| 5229 | +
|
| 5230 | +Copy
|
| 5231 | +
|
| 5232 | + use
|
| 5233 | + }
|
| 5234 | +
|
| 5235 | + use
|
| 5236 | + the defaul
|
| 5237 | +o 2008-05-20 * C2
|
| 5238 | + MODE_KEY = 3, break;
|
| 5239 | +/* LICENSE
|
| 5240 | +
|
| 5241 | +CopyCENSE
|
| 5242 | +
|
| 5243 | +Copy
|
| 5244 | +
|
| 5245 | +
|
| 5246 | +
|
| 5247 | +
|
| 5248 | +
|
| 5249 | +pack.c */
|
| 5250 | +? cson_guess_arg_type(pos: use
|
| 5251 | + the defaul
|
| 5252 | +0 != (rc= use
|
| 5253 | + the defaul
|
| 5254 | +o 2008-05-20 * C2
|
| 5255 | + MODE_KEY = 3, break;
|
| 5256 | +/* LICENSE
|
| 5257 | +
|
| 5258 | +CopyCENSE
|
| 5259 | +
|
| 5260 | +Copy
|
| 5261 | +
|
| 5262 | +
|
| 5263 | +
|
| 5264 | +
|
| 5265 | +
|
| 5266 | +pack.c */
|
| 5267 | +0_guess_arg_type(pos: use
|
| 5268 | + t use
|
| 5269 | + MODE_KEY = 3, use
|
| 5270 | + ;
|
| 5271 | + p->c 0 == rc ) use
|
| 5272 | + }ARRAY_END:( ch}/*
|
| 5273 | + refcount the keys! We first need a setter which takes
|
| 5274 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 5275 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 5276 | +# pop ) ownership of it to the
|
| 5277 | + caller. It must eventually be destroyed, by the caller or its
|
| 5278 | + owning or transfering
|
| 5279 | +
|
| 5280 | +void/**
|
| 5281 | + This special-case impl is needed because the underlying
|
| 5282 | + (generic) list operations do not know how to populate
|
| 5283 | + new entries
|
| 5284 | + */ use
|
| 5285 | + the =*arg)){ use
|
| 5286 | + the def use
|
| 5287 | + the defaul
|
| 5288 | +o 2008-05-20 * C2
|
| 5289 | + MODE_KEY = 3, break;
|
| 5290 | +/* LICENSE
|
| 5291 | +
|
| 5292 | +CopyCENSE
|
| 5293 | +
|
| 5294 | +Copy
|
| 5295 | +
|
| 5296 | + use
|
| 5297 | + }
|
| 5298 | +
|
| 5299 | + use
|
| 5300 | + the defaul
|
| 5301 | +o 2008-05-20 * C2
|
| 5302 | + MODE_KEY = 3, break;
|
| 5303 | +/* LICENSE
|
| 5304 | +
|
| 5305 | +CopyCENSE
|
| 5306 | +
|
| 5307 | +Copy
|
| 5308 | +
|
| 5309 | +
|
| 5310 | +
|
| 5311 | +
|
| 5312 | +
|
| 5313 | +pack.c */
|
| 5314 | +? cson_guess_arg_type(pos: use
|
| 5315 | + the defaul
|
| 5316 | +0 != (rc= use
|
| 5317 | + the defaul
|
| 5318 | +o 2008-05-20 * C2
|
| 5319 | + MODE_KEY = 3, break;
|
| 5320 | +/* LICENSE
|
| 5321 | +
|
| 5322 | +CopyCENSE
|
| 5323 | +
|
| 5324 | +Copy
|
| 5325 | +
|
| 5326 | +
|
| 5327 | +
|
| 5328 | +
|
| 5329 | +
|
| 5330 | +pack.c */
|
| 5331 | +0_guess_arg_type(pos: use
|
| 5332 | + t use
|
| 5333 | + MODE_KEY = 3, use
|
| 5334 | + ;
|
| 5335 | + p->c 0 == rc ) use
|
| 5336 | + }Aarye
|
| 5337 | + }
|
| 5338 | +
|
| 5339 | + use
|
| 5340 | + the defaul
|
| 5341 | +o 2008-05-20 * C2
|
| 5342 | + MODE_KEY = 3, break;
|
| 5343 | +/* LICENSE
|
| 5344 | +
|
| 5345 | +CopyCENSE
|
| 5346 | +
|
| 5347 | +Copy
|
| 5348 | +
|
| 5349 | +
|
| 5350 | +
|
| 5351 | +
|
| 5352 | +
|
| 5353 | +pack.c */
|
| 5354 | +? cson_guess_arg_type(pos: use
|
| 5355 | + the defaul
|
| 5356 | +0 != (rc= use
|
| 5357 | + the defaul
|
| 5358 | +o 2008-05-20 * C2
|
| 5359 | + MODE_KEY = 3, break;
|
| 5360 | +/* LICENSE
|
| 5361 | +
|
| 5362 | +CopyCENSE
|
| 5363 | +
|
| 5364 | +Copy
|
| 5365 | +
|
| 5366 | +
|
| 5367 | +
|
| 5368 | +
|
| 5369 | +
|
| 5370 | +pack.c */
|
| 5371 | + defaul
|
| 5372 | +o 2008-05-20 * C2
|
| 5373 | + MODE_KEY = 3, break;
|
| 5374 | +/* LICENSE
|
| 5375 | +
|
| 5376 | +CopyCENSE
|
| 5377 | +
|
| 5378 | +Copy
|
| 5379 | +
|
| 5380 | +
|
| 5381 | +
|
| 5382 | +
|
| 5383 | +
|
| 5384 | +pack.c */
|
| 5385 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5386 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5387 | + use
|
| 5388 | + the defaul
|
| 5389 | +o 2008-05-20 * C2
|
| 5390 | + MODE_KEY = 3, break;
|
| 5391 | +/* LICENSE
|
| 5392 | +
|
| 5393 | +CopyCENSE
|
| 5394 | +
|
| 5395 | +Copy
|
| 5396 | +
|
| 5397 | +
|
| 5398 | +
|
| 5399 | +
|
| 5400 | +
|
| 5401 | +pack.c */
|
| 5402 | +if( use
|
| 5403 | + the clone_shared(ul
|
| 5404 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 5405 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 5406 | + the def use
|
| 5407 | + the defaul
|
| 5408 | +o 2008-05-20 * C2
|
| 5409 | + MODE_KEY = 3, break;
|
| 5410 | +/* LICENSE
|
| 5411 | +
|
| 5412 | +CopyCENSE
|
| 5413 | +
|
| 5414 | +Copy
|
| 5415 | +
|
| 5416 | + use
|
| 5417 | + }
|
| 5418 | +
|
| 5419 | + use
|
| 5420 | + the defaul
|
| 5421 | +o 2008-05-20 * C2
|
| 5422 | + MODE_KEY = 3, break;
|
| 5423 | +/* LICENSE
|
| 5424 | +
|
| 5425 | +CopyCENSE
|
| 5426 | +
|
| 5427 | +Copy
|
| 5428 | +
|
| 5429 | +
|
| 5430 | +
|
| 5431 | +
|
| 5432 | +
|
| 5433 | +pack.c */
|
| 5434 | +? cson_guess_arg_type(pos: use
|
| 5435 | + the defaul
|
| 5436 | +0 != (rc= use
|
| 5437 | + the defaul
|
| 5438 | +o 2008-05-20 * C2
|
| 5439 | + MODE_KEY = 3, break;
|
| 5440 | +/* LICENSE
|
| 5441 | +
|
| 5442 | +CopyCENSE
|
| 5443 | +
|
| 5444 | +Copy
|
| 5445 | +
|
| 5446 | +
|
| 5447 | +
|
| 5448 | +
|
| 5449 | +
|
| 5450 | +pack.c */
|
| 5451 | +0_guess_arg_type(pos: use
|
| 5452 | + t use
|
| 5453 | + MODE_KEY = 3, use
|
| 5454 | + ;
|
| 5455 | + p->c 0 == rc ) use
|
| 5456 | + }ARRAY_END:( ch}/*
|
| 5457 | + refcount the keys! We first need a setter which takes
|
| 5458 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 5459 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 5460 | +# pop ) ownership of it to the
|
| 5461 | + caller. It must eventually be destroyed, by the caller or its
|
| 5462 | + owning or transfering
|
| 5463 | +
|
| 5464 | +void/**
|
| 5465 | + This special-case impl is needed because the underlying
|
| 5466 | + (generic) list operations do not know how to populate
|
| 5467 | + new entries
|
| 5468 | + */ use
|
| 5469 | + the =*arg)){ use
|
| 5470 | + the def use
|
| 5471 | + the defaul
|
| 5472 | +o 2008-05-20 * C2
|
| 5473 | + MODE_KEY = 3, break;
|
| 5474 | +/* LICENSE
|
| 5475 | +
|
| 5476 | +CopyCENSE
|
| 5477 | +
|
| 5478 | +Copy
|
| 5479 | +
|
| 5480 | + use
|
| 5481 | + }
|
| 5482 | +
|
| 5483 | + use
|
| 5484 | + the defaul
|
| 5485 | +o 2008-05-20 * C2
|
| 5486 | + MODE_KEY = 3, break;
|
| 5487 | +/* LICENSE
|
| 5488 | +
|
| 5489 | +CopyCENSE
|
| 5490 | +
|
| 5491 | +Copy
|
| 5492 | +
|
| 5493 | +
|
| 5494 | +
|
| 5495 | +
|
| 5496 | +
|
| 5497 | +pack.c */
|
| 5498 | +? cson_guess_arg_type(pos: use
|
| 5499 | + the defaul
|
| 5500 | +0 != (rc= use
|
| 5501 | + the defaul
|
| 5502 | +o 2008-05-20 * C2
|
| 5503 | + MODE_KEY = 3, break;
|
| 5504 | +/* LICENSE
|
| 5505 | +
|
| 5506 | +CopyCENSE
|
| 5507 | +
|
| 5508 | +Copy
|
| 5509 | +
|
| 5510 | +
|
| 5511 | +
|
| 5512 | +
|
| 5513 | +
|
| 5514 | +pack.c */
|
| 5515 | +0_guess_arg_type(pos: use
|
| 5516 | + t use
|
| 5517 | + MODE_KEY = 3, use
|
| 5518 | + ;
|
| 5519 | + p->c 0 == rc ) use
|
| 5520 | + }Aarymallocfreereallocconst ** dest des()val->value-20 * C C2
|
| 5521 | + MODE_KEY = const *rcaul
|
| 5522 | +o 20 the defaul
|
| 5523 | +oeak;
|
| 5524 | +/* LICENSE
|
| 5525 | +
|
| 5526 | +CopyCENSE
|
| 5527 | +
|
| 5528 | +Copy
|
| 5529 | +
|
| 5530 | + use
|
| 5531 | + }
|
| 5532 | +
|
| 5533 | + use
|
| 5534 | + the defaul
|
| 5535 | +o 2008-05-20 * C2
|
| 5536 | + MODE_KEY = 3, break;
|
| 5537 | +/* LICENSE
|
| 5538 | +
|
| 5539 | +CopyCENSE
|
| 5540 | +
|
| 5541 | +Copy
|
| 5542 | +
|
| 5543 | +
|
| 5544 | +
|
| 5545 | +
|
| 5546 | +
|
| 5547 | +pack.c */
|
| 5548 | +? cson_guess_arg_type(pos: use
|
| 5549 | + the defaul
|
| 5550 | +0 != (rc= use
|
| 5551 | + the defaul
|
| 5552 | +o 2008-05-20 * C2
|
| 5553 | + MODE_KEY = 3, break;
|
| 5554 | +/* LICENSE
|
| 5555 | +
|
| 5556 | +CopyCENSE
|
| 5557 | +
|
| 5558 | +Copy
|
| 5559 | +
|
| 5560 | +
|
| 5561 | +
|
| 5562 | +
|
| 5563 | +
|
| 5564 | +pack.c */
|
| 5565 | + defaul
|
| 5566 | +o 2008-05-20 * C2
|
| 5567 | + MODE_KEY = 3, break;
|
| 5568 | +/* LICENSE
|
| 5569 | +
|
| 5570 | +CopyCENSE
|
| 5571 | +
|
| 5572 | +Copy
|
| 5573 | +
|
| 5574 | +
|
| 5575 | +
|
| 5576 | +
|
| 5577 | +
|
| 5578 | +pack.c */
|
| 5579 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5580 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5581 | + use
|
| 5582 | + the defaul
|
| 5583 | +o 2008-05-20 * C2
|
| 5584 | + MODE_KEY = 3, break;
|
| 5585 | +/* LICENSE
|
| 5586 | +
|
| 5587 | +CopyCENSE
|
| 5588 | +
|
| 5589 | +Copy
|
| 5590 | +
|
| 5591 | +
|
| 5592 | +
|
| 5593 | +
|
| 5594 | +
|
| 5595 | +pack.c */
|
| 5596 | +if( use
|
| 5597 | + the clone_shared(ul
|
| 5598 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 5599 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 5600 | + the def use
|
| 5601 | + the defaul
|
| 5602 | +o 2008-05-20 * C2
|
| 5603 | + MODE_KEY = 3, break;
|
| 5604 | +/* LICENSE
|
| 5605 | +
|
| 5606 | +CopyCENSE
|
| 5607 | +
|
| 5608 | +Copy
|
| 5609 | +
|
| 5610 | + use
|
| 5611 | + }
|
| 5612 | +
|
| 5613 | + use
|
| 5614 | + the defaul
|
| 5615 | +o 2008-05-20 aul
|
| 5616 | +o 2008-05-20 * C2
|
| 5617 | + MODE_KEY = 3, brC2
|
| 5618 | + MODE_K0colscolsV 2008-05-20 * C2
|
| 5619 | + MODE_KEY = 3, break;
|
| 5620 | +/* LICENSE
|
| 5621 | +
|
| 5622 | +CopyCENSE
|
| 5623 | +
|
| 5624 | +Copy
|
| 5625 | +
|
| 5626 | +
|
| 5627 | +
|
| 5628 | +
|
| 5629 | +
|
| 5630 | +pack.c */
|
| 5631 | +#V)->value)m/* FIXME: if sizeof(vo * colscols(scson_string object with enough space for
|
| 5632 | + the given number of bytes. A byte for a NUL terminator
|
| 5633 | + is added automatically. Use cson_string_str() to get
|
| 5634 | + access to the string bytes, which will be len bytes long.
|
| 5635 | +
|
| 5636 | + len may be 0, in which case the internal string is "", as opposed
|
| 5637 | + to null. This is because the string bytes and the cson_string are
|
| 5638 | + allocated in a single chunk of memory, and the cson_string object
|
| 5639 | + does not directly provide (or have) a pointer to the string bytes.
|
| 5640 | +*/
|
| 5641 | +static cson_string * cson_string_alloc(STR_EMPTY])'>=*arg)){ use
|
| 5642 | + the defconst size_t maul
|
| 5643 | +o 2008-e
|
| 5644 | + the defaul
|
| 5645 | +o * mem 2008-05-20 aul
|
| 5646 | +o +len) ) /*overflow*/ mem = (unsigned char *)cson_malloc( msz, "cson_string_alloc" );
|
| 5647 | + if( memmemset( mem, 0, mszs = (cson_string *)memk.c */
|
| 5648 | +0_guess_araul
|
| 5649 | +o 2008-05-20 * C2
|
| 5650 | + MODE_KEY = 3, break;
|
| 5651 | +/* LICENSE
|
| 5652 | +
|
| 5653 | +CopyCENSE
|
| 5654 | +
|
| 5655 | +Copy
|
| 5656 | +
|
| 5657 | +
|
| 5658 | +
|
| 5659 | +
|
| 5660 | +
|
| 5661 | +pack.c */
|
| 5662 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5663 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5664 | + use
|
| 5665 | + the defaul
|
| 5666 | +o 2008-05-20 * C2
|
| 5667 | + MODE_KEY = 3, break;
|
| 5668 | +/* LICENSE
|
| 5669 | +
|
| 5670 | +CopyCENSE
|
| 5671 | +
|
| 5672 | +Copy
|
| 5673 | +
|
| 5674 | +
|
| 5675 | +
|
| 5676 | +
|
| 5677 | +
|
| 5678 | +pack.c */
|
| 5679 | +if( use
|
| 5680 | + the clone_shared(ul
|
| 5681 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 5682 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 5683 | + the def use
|
| 5684 | + the defaul
|
| 5685 | +o 2008-05-20 * C2
|
| 5686 | + MODE_KEY = 3, break;
|
| 5687 | +/* LICENSE
|
| 5688 | +
|
| 5689 | +CopyCENSE
|
| 5690 | +
|
| 5691 | +Copy
|
| 5692 | +
|
| 5693 | + use
|
| 5694 | + }
|
| 5695 | +
|
| 5696 | + use
|
| 5697 | + the defaul
|
| 5698 | +o 2008-05-20 * C2
|
| 5699 | + MODE_KEY = 3, break;
|
| 5700 | +/* LICENSE
|
| 5701 | +
|
| 5702 | +CopyCENSE
|
| 5703 | +
|
| 5704 | +Copy
|
| 5705 | +
|
| 5706 | +
|
| 5707 | +
|
| 5708 | +
|
| 5709 | +
|
| 5710 | +pack.c */
|
| 5711 | +? cson_guess_arg_type(pos: use
|
| 5712 | + the defaul
|
| 5713 | +0 != (rc= use
|
| 5714 | + the defaul
|
| 5715 | +o 2008-05-20 * C2
|
| 5716 | + MODE_KEY = 3, break;
|
| 5717 | +/* LICENSE
|
| 5718 | +
|
| 5719 | +CopyCENSE
|
| 5720 | +
|
| 5721 | +Copy
|
| 5722 | +
|
| 5723 | +
|
| 5724 | +
|
| 5725 | +
|
| 5726 | +
|
| 5727 | +pack.c */
|
| 5728 | + defaul
|
| 5729 | +o 2008-05-20 * C2
|
| 5730 | + MODE_KEY = 3, break;
|
| 5731 | +/* LICENSE
|
| 5732 | +
|
| 5733 | +CopyCENSE
|
| 5734 | +
|
| 5735 | +Copy
|
| 5736 | +
|
| 5737 | +
|
| 5738 | +
|
| 5739 | +
|
| 5740 | +
|
| 5741 | +pack.c */
|
| 5742 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5743 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5744 | + use
|
| 5745 | + the defaul
|
| 5746 | +o 2008-05-20 * C2
|
| 5747 | + MODE_KEY = 3, break;
|
| 5748 | +/* LICENSE
|
| 5749 | +
|
| 5750 | +CopyCENSE
|
| 5751 | +
|
| 5752 | +Copy
|
| 5753 | +
|
| 5754 | +
|
| 5755 | +
|
| 5756 | +
|
| 5757 | +
|
| 5758 | +pack.c */
|
| 5759 | +if( use
|
| 5760 | + the clone_shared(ul
|
| 5761 | +o 2008-05-20 2008-05-20 * sharedshared use
|
| 5762 | + ('0'<=*arg) && ('9'>=*arg)){ use
|
| 5763 | + the def use
|
| 5764 | + the defaul
|
| 5765 | +o 2008-05-20 * C2
|
| 5766 | + MODE_KEY = 3, break;
|
| 5767 | +/* LICENSE
|
| 5768 | +
|
| 5769 | +CopyCENSE
|
| 5770 | +
|
| 5771 | +Copy
|
| 5772 | +
|
| 5773 | + use
|
| 5774 | + }
|
| 5775 | +
|
| 5776 | + use
|
| 5777 | + the defaul
|
| 5778 | +o 2008-05-20 * C2
|
| 5779 | + MODE_KEY = 3, break;
|
| 5780 | +/* LICENSE
|
| 5781 | +
|
| 5782 | +CopyCENSE
|
| 5783 | +
|
| 5784 | +Copy
|
| 5785 | +
|
| 5786 | +
|
| 5787 | +
|
| 5788 | +
|
| 5789 | +
|
| 5790 | +pack.c */
|
| 5791 | +? cson_guess_arg_type(pos: use
|
| 5792 | + the defaul
|
| 5793 | +0 != (rc= use
|
| 5794 | + the defaul
|
| 5795 | +o 2008-05-20 * C2
|
| 5796 | + MODE_KEY = 3, break;
|
| 5797 | +/* LICENSE
|
| 5798 | +
|
| 5799 | +CopyCENSE
|
| 5800 | +
|
| 5801 | +Copy
|
| 5802 | +
|
| 5803 | +
|
| 5804 | +
|
| 5805 | +
|
| 5806 | +
|
| 5807 | +pack.c */
|
| 5808 | +0_guess_arg_type(pos: use
|
| 5809 | + t use
|
| 5810 | + MODE_KEY = 3, use
|
| 5811 | + ;
|
| 5812 | + p->c 0 == rc ) use
|
| 5813 | + }ARRAY_END:( ch}/*
|
| 5814 | + refcount the keys! We first need a setter which takes
|
| 5815 | + 8@JnB,b:a cson_string or cson_value key type.
|
| 5816 | +K@OzU,D:cson_value * K@I20,G@FK0,H@cX0,3:keyK@Xhl,J@_4E,S@YGA,E:( kvp->value )H@NM0,X@YHA,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,M@Yfi,C:CSON_STR(keyH@bp0,1B@YIj,G@cDG,G@PEl,W@O4l,_@YNG,L@blG,G@8RG,TX@YOR,5:constb@YpW,z@YrX,G@cDG,1I_@Ysq,_@Nql,J@SPy,4NC@_BU,28lZAF; defined(_WIN32)
|
| 5817 | +# pop ) ownership of it to the
|
| 5818 | + caller. It must eventually be destroyed, by the caller or its
|
| 5819 | + owning or transfering
|
| 5820 | +
|
| 5821 | +void/**
|
| 5822 | + This special-case impl is needed because the underlying
|
| 5823 | + (generic) list operations do not know how to populate
|
| 5824 | + new entries
|
| 5825 | + */ use
|
| 5826 | + the =*arg)){ use
|
| 5827 | + the def use
|
| 5828 | + the defaul
|
| 5829 | +o 2008-05-20 * C2
|
| 5830 | + MODE_KEY = 3, break;
|
| 5831 | +/* LICENSE
|
| 5832 | +
|
| 5833 | +CopyCENSE
|
| 5834 | +
|
| 5835 | +Copy
|
| 5836 | +
|
| 5837 | + use
|
| 5838 | + }
|
| 5839 | +
|
| 5840 | + use
|
| 5841 | + the defaul
|
| 5842 | +o 2008-05-20 freeintegerstringinteger
|
| 5843 | + MODE_KEY = 3aul
|
| 5844 | +o 2008-05-2free
|
| 5845 | + MODE_KEY = 3aul
|
| 5846 | +o 2008-05-2string
|
| 5847 | + MODE_KEY = 3aul
|
| 5848 | +o 2008-05-20 * C2
|
| 5849 | + MODE_KEY = 3, break;
|
| 5850 | +/* LICENSE
|
| 5851 | +
|
| 5852 | +CopyCENSE
|
| 5853 | +
|
| 5854 | +Copy
|
| 5855 | +
|
| 5856 | +
|
| 5857 | +
|
| 5858 | +
|
| 5859 | +
|
| 5860 | +pack.c */
|
| 5861 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5862 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5863 | + use
|
| 5864 | +If self is not null, free(self->value) is called. *self is then
|
| 5865 | + type. self is not freed.
|
| 5866 | +free
|
| 5867 | +{
|
| 5868 | + if(selfcson_free(self->value,"free()"
|
| 5869 | + Reminders to self:
|
| 5870 | +
|
| 5871 | + - 20110126: moved cson_value_new() and cson_value_set_xxx() out of
|
| 5872 | + MODE_KEY = 3aul
|
| 5873 | +o 2008-05-20 * C2
|
| 5874 | + MODE_KEY = 3, break;
|
| 5875 | +/* LICENSE
|
| 5876 | +
|
| 5877 | +CopyCENSE
|
| 5878 | +
|
| 5879 | +Copy
|
| 5880 | +
|
| 5881 | +
|
| 5882 | +
|
| 5883 | +
|
| 5884 | +
|
| 5885 | +pack.c */
|
| 5886 | +#V)->value)m/* FIXME: if sizeof(void*) > then store
|
| 5887 | + the int value directly in the v). The curbytes(!!!) on 64-bit builds.in
|
| 5888 | + use
|
| 5889 | + the defaul
|
| 5890 | +o 2008-05-20 * C2
|
| 5891 | + MODE_KEY = 3, break;
|
| 5892 | +/* LICENSE
|
| 5893 | +
|
| 5894 | +CopyCENSE
|
| 5895 | +
|
| 5896 | +Copy
|
| 5897 | +
|
| 5898 | +
|
| 5899 | +
|
| 5900 | +
|
| 5901 | +
|
| 5902 | + a) They can be easily mis-used to cause memory leaks, even when used in
|
| 5903 | + a manner which seems relatively intuitive.
|
| 5904 | +
|
| 5905 | + b) Having them in the API prohibits us from eventually doing certain
|
| 5906 | + allocation optimizations like not allocating Booleans,
|
| 5907 | + Integer/Doubles with the value 0, or empty Strings. The main problem
|
| 5908 | + is that cson_value_set_xxx() cannot be implemented properly if we
|
| 5909 | + add that type of optimization.
|
| 5910 | +*/P@EpP,2x:value with the "undefined" value and transfers
|
| 5911 | + ownership of it to the caller. Use The cson_value_set_xxx() family
|
| 5912 | + of functions to assign a typed value to it. It must eventually be
|
| 5913 | + W@Gt~,Z@GuY,1:
|
| 5914 | +J@aul,1:)4c@H0X,1X:);
|
| 5915 | +/**
|
| 5916 | + Cleans any existing contents of val and sets its new value
|
| 5917 | + to the special NULL valueR@NQi,A:
|
| 5918 | +
|
| 5919 | +*/
|
| 5920 | +#if 0H@R6l,E:value_set_nullM@DjD,1G:#endif
|
| 5921 | +/**
|
| 5922 | + Cleans any existing contents of val and sets its new value
|
| 5923 | + to vR@NQi,A:
|
| 5924 | +
|
| 5925 | +*/
|
| 5926 | +#if 0H@R6l,1x:value_set_bool( cson_value * val, char v );
|
| 5927 | +#endif
|
| 5928 | +/**
|
| 5929 | + Cleans any existing contents of val and sets its new value
|
| 5930 | + to vR@NQi,1:
|
| 5931 | +K@TVj,9:value_setL@Je0,1W:* val, cson_int_t v );
|
| 5932 | +/**
|
| 5933 | + Cleans any existing contents of val and sets its new value
|
| 5934 | + to vR@NQi,K@TVj,7:value_sM@KDS,6:* val,I@LDz,2b:;
|
| 5935 | +
|
| 5936 | +/**
|
| 5937 | + Cleans any existing contents of val and sets its new value to
|
| 5938 | + str. On success, ownership of str is passed on to val. On error
|
| 5939 | + ownership is not changedR@NQi,h:
|
| 5940 | +
|
| 5941 | + If str is NULL, (!*str), or (!len) thenN@C3e,i:
|
| 5942 | + allocate any memory for a new string, andI@KEW,N:string()
|
| 5943 | + will returnG@RN0,S: as opposed to a NULL stringL@abW,8:value_seL@T1T,6:* val,a@LIU,2:;
|
| 5944 | +U@HBG,P@H~G,R@HXc,H@H7G,K:,"cson_value_new");
|
| 5945 | +H@Jb0,M@HyW,Q0@H_h,O@C4G,7:integerL@C4i,n:
|
| 5946 | +{
|
| 5947 | + if( self )
|
| 5948 | + {
|
| 5949 | +#if !CSON_VOID_PTR_IS_BIG
|
| 5950 | +I@ICV,O:self->value,"cson_int_t"I@_KF,_:*self = cson_value_empty;
|
| 5951 | + }
|
| 5952 | +I@R6k,9:value_setL@Je0,6:* val,Q@L9W,5:! valg@VJl,O:#if CSON_VOID_PTR_IS_BIGK@_g~,5:cleanH@Idk,3:valI@HZ~,W:v;
|
| 5953 | +#else
|
| 5954 | + cson_int_t * ivH@IDW,G:iv = (cson_int_tQ@KbM,K:int_t), "cson_int_t"H@akl,1:iK@LZl,J@PD0,B@Ht~,5:cleanH@Idk,7:*iv = vA@Hyl,F:val->value = ivH@_KG,A:val->api =H@Cll,7:integerT@DxG,G@S_l,7:value_sM@KDS,6:* val,T@LDz,5:! valo@VJl,I:cson_double_t * rvH@IDW,B@Ht~,5:cleanH@Idk,A:val->api =H@Cll,S:double;
|
| 5955 | + if( 0.0 != vP@URW,17:/*
|
| 5956 | + unsigned int CsonSessionRegLen = sizeof(CsonSessionReg)/sizeof(CsonSessionReg[0]);
|
| 5957 | +
|
| 5958 | +
|
| 5959 | +int cson_sessmgr_register( char const * name, cson_sessmgr_factory_f f )
|
| 5960 | +{
|
| 5961 | +cson_sessmnlen = strlen(name)if( nlen >= CsonSessionNameLe > then store
|
| 5962 | + the int value direcaul
|
| 5963 | +o 200 |