pub unsafe fn tt_xetex_set_int_variable(var_name: &str, value: i32) -> i32 {
    if var_name == "halt_on_error_p" {
        halt_on_error_p = value
    } else if var_name == "in_initex_mode" {
        in_initex_mode = value != 0
    } else if var_name == "synctex_enabled" {
        synctex_enabled = value != 0
    } else if var_name == "semantic_pagination_enabled" {
        semantic_pagination_enabled = value != 0
    } else if var_name == "shell_escape_enabled" {
        shell_escape_enabled = value != 0
    } else {
        return 1;
    } /* Uh oh: unrecognized variable */
    0
    /* success */
}
/* These functions aren't used within the C/C++ library, but are called
 * by the Rust code to configure the XeTeX engine before launching it. */
These functions aren't used within the C/C++ library, but are called
by the Rust code to configure the XeTeX engine before launching it.
These functions aren ' t used within the C / C ++ library but are called by the Rust code to configure the XeTeX engine before launching it .
pub unsafe fn tt_xetex_set_int_variable(var_name: &str, value: i32) -> i32 {
    if var_name == "halt_on_error_p" {
        halt_on_error_p = value
    } else if var_name == "in_initex_mode" {
        in_initex_mode = value != 0
    } else if var_name == "synctex_enabled" {
        synctex_enabled = value != 0
    } else if var_name == "semantic_pagination_enabled" {
        semantic_pagination_enabled = value != 0
    } else if var_name == "shell_escape_enabled" {
        shell_escape_enabled = value != 0
    } else {
        return 1;
    } /* Uh oh: unrecognized variable */
    0
    /* success */
}
pub unsafe fn tt_xetex_set_int_variable ( var_name : & str , value : i32 ) -> i32 { if var_name == " " { halt_on_error_p = value } else if var_name == " " { in_initex_mode = value != 0 } else if var_name == " " { synctex_enabled = value != 0 } else if var_name == " " { semantic_pagination_enabled = value != 0 } else if var_name == " " { shell_escape_enabled = value != 0 } else { return 1 ; } /* Uh oh: unrecognized variable */ 0 /* success */ }
These functions aren't used within the C/C++ library, but are called
 by the Rust code to configure the XeTeX engine before launching it.
These functions aren ' t used within the C / C ++ library but are called by the Rust code to configure the XeTeX engine before launching it .
var_name
&str
value
i32