//=========================================================================== // // Parameter: - // Returns: - // Changes Globals: - //=========================================================================== void SetScriptPunctuations(script_t* script, punctuation_t* p) { #ifdef PUNCTABLE if (p) PS_CreatePunctuationTable(script, p); else PS_CreatePunctuationTable(script, default_punctuations); #endif //PUNCTABLE if (p) script->punctuations = p; else script->punctuations = default_punctuations; } //end of the function SetScriptPunctuations
void SetScriptPunctuations( script_t* script, punctuation_t* p ) { if ( p ) { PS_CreatePunctuationTable( script, p ); script->punctuations = p; } else { PS_CreatePunctuationTable( script, default_punctuations ); script->punctuations = default_punctuations; } }
/** * @brief Set an array with punctuations, NULL restores default C/C++ set * @param[in,out] script * @param[in] p */ void SetScriptPunctuations(script_t *script, punctuation_t *p) { #ifdef PUNCTABLE if (p) { PS_CreatePunctuationTable(script, p); } else { PS_CreatePunctuationTable(script, default_punctuations); } #endif //PUNCTABLE if (p) { script->punctuations = p; } else { script->punctuations = default_punctuations; } }