parameters: (string)
return_statement: return ctypes.c_char_p(string.encode('utf-8'))
docstring: Convert a python string to cstring.
docstring_summary: Convert a python string to cstring.
docstring_tokens: Convert a python string to cstring .
function: def c_str(string):
      """Convert a python string to cstring."""
      return ctypes.c_char_p(string.encode('utf-8'))
function_tokens: def c_str ( string ) : return ctypes . c_char_p ( string . encode ( 'utf-8' ) )