MCPcopy Create free account
hub / github.com/chokkan/crfsuite / _wrap_new_StringList

Function _wrap_new_StringList

swig/python/export_wrap.cpp:11496–11550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11494
11495
11496SWIGINTERN PyObject *_wrap_new_StringList(PyObject *self, PyObject *args) {
11497 int argc;
11498 PyObject *argv[3];
11499 int ii;
11500
11501 if (!PyTuple_Check(args)) SWIG_fail;
11502 argc = args ? (int)PyObject_Length(args) : 0;
11503 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
11504 argv[ii] = PyTuple_GET_ITEM(args,ii);
11505 }
11506 if (argc == 0) {
11507 return _wrap_new_StringList__SWIG_0(self, args);
11508 }
11509 if (argc == 1) {
11510 int _v;
11511 {
11512 int res = SWIG_AsVal_size_t(argv[0], NULL);
11513 _v = SWIG_CheckState(res);
11514 }
11515 if (_v) {
11516 return _wrap_new_StringList__SWIG_2(self, args);
11517 }
11518 }
11519 if (argc == 1) {
11520 int _v;
11521 int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
11522 _v = SWIG_CheckState(res);
11523 if (_v) {
11524 return _wrap_new_StringList__SWIG_1(self, args);
11525 }
11526 }
11527 if (argc == 2) {
11528 int _v;
11529 {
11530 int res = SWIG_AsVal_size_t(argv[0], NULL);
11531 _v = SWIG_CheckState(res);
11532 }
11533 if (_v) {
11534 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
11535 _v = SWIG_CheckState(res);
11536 if (_v) {
11537 return _wrap_new_StringList__SWIG_3(self, args);
11538 }
11539 }
11540 }
11541
11542fail:
11543 SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'new_StringList'.\n"
11544 " Possible C/C++ prototypes are:\n"
11545 " std::vector< std::string >::vector()\n"
11546 " std::vector< std::string >::vector(std::vector< std::string > const &)\n"
11547 " std::vector< std::string >::vector(std::vector< std::string >::size_type)\n"
11548 " std::vector< std::string >::vector(std::vector< std::string >::size_type,std::vector< std::string >::value_type const &)\n");
11549 return 0;
11550}
11551
11552
11553SWIGINTERN PyObject *_wrap_StringList_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 8

SWIG_AsVal_size_tFunction · 0.85
SWIG_CheckStateFunction · 0.85
asptrFunction · 0.85
SWIG_AsPtr_std_stringFunction · 0.85

Tested by

no test coverage detected