4949
static int _wrap_item_parentNodeId_set(lua_State* L) {
4951
struct item *arg1 = (struct item *) 0 ;
4952
char *arg2 = (char *) 0 ;
4954
SWIG_check_num_args("parentNodeId",2,2)
4955
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parentNodeId",1,"struct item *");
4956
if(!lua_isstring(L,2)) SWIG_fail_arg("parentNodeId",2,"char *");
4958
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4959
SWIG_fail_ptr("item_parentNodeId_set",1,SWIGTYPE_p_item);
4962
arg2 = (char *)lua_tostring(L, 2);
4964
if (arg1->parentNodeId) free((char *)arg1->parentNodeId);
4966
arg1->parentNodeId = (char *) malloc(strlen((const char *)arg2)+1);
4967
strcpy((char *)arg1->parentNodeId, (const char *)arg2);
4969
arg1->parentNodeId = 0;
4984
static int _wrap_item_parentNodeId_get(lua_State* L) {
4986
struct item *arg1 = (struct item *) 0 ;
4989
SWIG_check_num_args("parentNodeId",1,1)
4990
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("parentNodeId",1,"struct item *");
4992
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_item,0))){
4993
SWIG_fail_ptr("item_parentNodeId_get",1,SWIGTYPE_p_item);
4996
result = (char *) ((arg1)->parentNodeId);
4998
lua_pushstring(L,(const char*)result); SWIG_arg++;
4949
5009
static int _wrap_item_sourceNr_set(lua_State* L) {
4950
5010
int SWIG_arg = -1;
4951
5011
struct item *arg1 = (struct item *) 0 ;
5082
5142
{ "parentItemId", _wrap_item_parentItemId_get, _wrap_item_parentItemId_set},
5083
5143
{ "isComment", _wrap_item_isComment_get, _wrap_item_isComment_set},
5084
5144
{ "nodeId", _wrap_item_nodeId_get, _wrap_item_nodeId_set},
5145
{ "parentNodeId", _wrap_item_parentNodeId_get, _wrap_item_parentNodeId_set},
5085
5146
{ "sourceNr", _wrap_item_sourceNr_get, _wrap_item_sourceNr_set},