Пример #1
0
 /**
  * Gets an error string for an SMCError code.
  *
  * @note SMCError_Okay returns false.
  * @note SMCError_Custom (which is thrown on SMCParse_HaltFail) returns false.
  *
  * @param error         The SMCParseError code.
  * @param buffer        A string buffer for the error (contents undefined on failure).
  * @param buf_max       The maximum size of the buffer.
  * @return              True on success, false otherwise.
  */
 public static bool SMC_GetErrorString(SMCError error, string buffer, int buf_max)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 // Gets an error string for an SMCError code.
 //
 // @param error         The SMCParseError code.
 // @param buffer        A string buffer for the error (contents undefined on failure).
 // @param buf_max       The maximum size of the buffer.
 // @return              The number of characters written to buffer.
 public void GetErrorString(SMCError error, string buffer, int buf_max)
 {
     throw new NotImplementedException();
 }