{"push_id":669675308,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"645a08de977a45b337c9a33f3944ba2611270889","before":"232a76074f67fa0378bdc65a7d520a6f39fd32ad","commits":[{"sha":"645a08de977a45b337c9a33f3944ba2611270889","author":{"email":"793d6d7c60bd6329d6f91fdb8c1b53aab99bf3da@loom.cc","name":"Patrick Chkoreff"},"message":"Simplify and enhance file operations.\n\nInstead of using an \"output\" function pointer type for current output, I'm just\nusing a simple int file number (1 or 2) instead.  The concept of a \"current\noutput\" is useful for switching between stdout and stderr, but does not have\nmuch application beyond that, so there is no need for a full function pointer.\n\nRename fgetc as fget, and make it return UTF-8 characters instead of raw bytes.\n\nRename fwrite as fput, and make it output arbitrary nested lists just like put,\ninstead of just strings.\n\nMake undefined_symbol in type_sym.c restore the output to stdout after printing\nits error message, by calling set_output(1).  This can make a difference if\na symbol resolution function happens to print output.\n\nMove type_fget from type_file.c to type_input.c.\n\nMove type_fput and type_fflush from type_file.c to type_output.c.\n\nHave put_to_error return 'I' always, because there's no need to get the value\nof the expression being evaluated while the output is diverted to stderr.\n\nSince I'm no longer compiling in -ansi mode, I was able to remove the extern\ndeclarations in format.c and num.c.","distinct":true,"url":"https://api.github.com/repos/chkoreff/Fexl/commits/645a08de977a45b337c9a33f3944ba2611270889"}]}