mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
Regenerate SWIG files.
This commit is contained in:
parent
12f7056aac
commit
a803525863
@ -63,11 +63,11 @@ const char *str_regtype(int type);
|
||||
$result = SWIG_NewPointerObj(*$1, SWIGTYPE_p_registry_context, 0);
|
||||
}
|
||||
|
||||
%typemap(in,noblock=1) struct smb_iconv_convenience * {
|
||||
%typemap(in,noblock=1,numinputs=0) struct smb_iconv_convenience *ic {
|
||||
$1 = py_iconv_convenience(NULL);
|
||||
}
|
||||
|
||||
%typemap(freearg,noblock=1) struct smb_iconv_convenience * {
|
||||
%typemap(freearg,noblock=1) struct smb_iconv_convenience *ic {
|
||||
talloc_free($1);
|
||||
}
|
||||
|
||||
|
@ -3118,20 +3118,19 @@ SWIGINTERN PyObject *_wrap_reg_diff_apply(PyObject *SWIGUNUSEDPARM(self), PyObje
|
||||
int alloc3 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "ic",(char *) "filename", NULL
|
||||
(char *) "self",(char *) "filename", NULL
|
||||
};
|
||||
WERROR result;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:reg_diff_apply",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
|
||||
arg2 = py_iconv_convenience(NULL);
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:reg_diff_apply",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_registry_context, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reg_diff_apply" "', argument " "1"" of type '" "reg *""'");
|
||||
}
|
||||
arg1 = (reg *)(argp1);
|
||||
arg2 = py_iconv_convenience(NULL);
|
||||
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
|
||||
res3 = SWIG_AsCharPtrAndSize(obj1, &buf3, NULL, &alloc3);
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "reg_diff_apply" "', argument " "3"" of type '" "char const *""'");
|
||||
}
|
||||
|
@ -263,5 +263,4 @@ param_section_swigregister = _param.param_section_swigregister
|
||||
param_section_swigregister(param_section)
|
||||
|
||||
|
||||
cvar = _param.cvar
|
||||
|
||||
|
@ -4144,29 +4144,6 @@ SWIGINTERN PyObject *param_section_swiginit(PyObject *SWIGUNUSEDPARM(self), PyOb
|
||||
return SWIG_Python_InitShadowInstance(args);
|
||||
}
|
||||
|
||||
SWIGINTERN int Swig_var_default_config_set(PyObject *_val) {
|
||||
{
|
||||
void *argp = 0;
|
||||
int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_loadparm_context, 0 );
|
||||
if (!SWIG_IsOK(res)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""global_loadparm""' of type '""struct loadparm_context *""'");
|
||||
}
|
||||
global_loadparm = (struct loadparm_context *)(argp);
|
||||
}
|
||||
return 0;
|
||||
fail:
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *Swig_var_default_config_get(void) {
|
||||
PyObject *pyobj = 0;
|
||||
|
||||
pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(global_loadparm), SWIGTYPE_p_loadparm_context, 0 );
|
||||
return pyobj;
|
||||
}
|
||||
|
||||
|
||||
static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_LoadParm", (PyCFunction)_wrap_new_LoadParm, METH_NOARGS, NULL},
|
||||
{ (char *)"LoadParm_default_service", (PyCFunction) _wrap_LoadParm_default_service, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -4845,7 +4822,5 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_InstallConstants(d,swig_const_table);
|
||||
|
||||
|
||||
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"default_config",Swig_var_default_config_get, Swig_var_default_config_set);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user