Changeset 23de644 in mainline for uspace/app/sbi/src/builtin
- Timestamp:
- 2010-04-04T22:31:01Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 074444f, ecb6ac32
- Parents:
- 3aae4e8
- Location:
- uspace/app/sbi/src/builtin
- Files:
-
- 2 added
- 2 edited
-
bi_error.c (added)
-
bi_error.h (added)
-
bi_fun.c (modified) (2 diffs)
-
bi_textfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/builtin/bi_fun.c
r3aae4e8 r23de644 32 32 #include <stdlib.h> 33 33 #include <assert.h> 34 #include "../bigint.h" 34 35 #include "../builtin.h" 35 36 #include "../list.h" … … 107 108 switch (var->vc) { 108 109 case vc_int: 109 printf("%d\n", var->u.int_v->value); 110 bigint_print(&var->u.int_v->value); 111 putchar('\n'); 110 112 break; 111 113 case vc_string: -
uspace/app/sbi/src/builtin/bi_textfile.c
r3aae4e8 r23de644 32 32 #include <stdlib.h> 33 33 #include <assert.h> 34 #include "../bigint.h" 34 35 #include "../builtin.h" 35 36 #include "../debug.h" … … 344 345 /* Construct return value. */ 345 346 eof_int = rdata_int_new(); 346 eof_int->value = eof_flag;347 bigint_init(&eof_int->value, eof_flag); 347 348 348 349 eof_var = rdata_var_new(vc_int);
Note:
See TracChangeset
for help on using the changeset viewer.
