This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int __fastcall pjl_getc(_BYTE *ppOut) | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
pjl_ctx = get_pjl_ctx(); | |
*ppOut = 0; | |
InputDataBufferSize = pjlContextGetInputDataBufferSize(pjl_ctx); | |
if ( InputDataBufferSize == pjl_get_end_of_file(pjl_ctx) ) | |
{ | |
pjl_set_eoj(pjl_ctx, 0); | |
pjl_set_InputDataBufferSize(pjl_ctx, 0); | |
pjl_get_data((int)pjl_ctx); | |
if ( pjl_get_state(pjl_ctx) == 1 ) | |
return 0xFFFFFFFF; // error | |
if ( !pjlContextGetInputDataBufferSize(pjl_ctx) ) | |
_assert_fail( | |
"pjlContextGetInputDataBufferSize(pjlContext) != 0", | |
"/usr/src/debug/jobsystem/git-r0/git/jobcontrol/pjl/pjl.c", | |
0x1BBu, | |
"pjl_getc"); | |
} | |
current_char = pjl_getc_internal(pjl_ctx); | |
ret = 1; | |
*ppOut = current_char; | |
return ret; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment