Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
2de7d9d2
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2de7d9d2
编写于
6月 25, 2008
作者:
D
Daniel Veillard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* python/types.c: patch from Ryan Scott to remove misplaced verbosity
when compiling in debug mode. Daniel
上级
93db3c61
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
5 addition
and
40 deletion
+5
-40
ChangeLog
ChangeLog
+5
-0
python/types.c
python/types.c
+0
-40
未找到文件。
ChangeLog
浏览文件 @
2de7d9d2
Wed Jun 25 13:40:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
* python/types.c: patch from Ryan Scott to remove misplaced verbosity
when compiling in debug mode.
Wed Jun 25 10:52:05 CEST 2008 Daniel Veillard <veillard@redhat.com>
* configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4
...
...
python/types.c
浏览文件 @
2de7d9d2
...
...
@@ -20,10 +20,6 @@ PyObject *
libvirt_intWrap
(
int
val
)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_intWrap: val = %d
\n
"
,
val
);
#endif
ret
=
PyInt_FromLong
((
long
)
val
);
return
(
ret
);
}
...
...
@@ -32,10 +28,6 @@ PyObject *
libvirt_longWrap
(
long
val
)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_longWrap: val = %ld
\n
"
,
val
);
#endif
ret
=
PyInt_FromLong
(
val
);
return
(
ret
);
}
...
...
@@ -44,10 +36,6 @@ PyObject *
libvirt_ulongWrap
(
unsigned
long
val
)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_ulongWrap: val = %lu
\n
"
,
val
);
#endif
ret
=
PyLong_FromLong
(
val
);
return
(
ret
);
}
...
...
@@ -56,10 +44,6 @@ PyObject *
libvirt_longlongWrap
(
long
long
val
)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_longWrap: val = %ld
\n
"
,
val
);
#endif
ret
=
PyLong_FromUnsignedLongLong
((
unsigned
long
long
)
val
);
return
(
ret
);
}
...
...
@@ -73,9 +57,6 @@ libvirt_charPtrWrap(char *str)
Py_INCREF
(
Py_None
);
return
(
Py_None
);
}
#ifdef DEBUG
printf
(
"libvirt_xmlcharPtrWrap: str = %s
\n
"
,
str
);
#endif
ret
=
PyString_FromString
(
str
);
free
(
str
);
return
(
ret
);
...
...
@@ -90,9 +71,6 @@ libvirt_constcharPtrWrap(const char *str)
Py_INCREF
(
Py_None
);
return
(
Py_None
);
}
#ifdef DEBUG
printf
(
"libvirt_xmlcharPtrWrap: str = %s
\n
"
,
str
);
#endif
ret
=
PyString_FromString
(
str
);
return
(
ret
);
}
...
...
@@ -106,9 +84,6 @@ libvirt_charPtrConstWrap(const char *str)
Py_INCREF
(
Py_None
);
return
(
Py_None
);
}
#ifdef DEBUG
printf
(
"libvirt_xmlcharPtrWrap: str = %s
\n
"
,
str
);
#endif
ret
=
PyString_FromString
(
str
);
return
(
ret
);
}
...
...
@@ -118,9 +93,6 @@ libvirt_virDomainPtrWrap(virDomainPtr node)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_virDomainPtrWrap: node = %p
\n
"
,
node
);
#endif
if
(
node
==
NULL
)
{
Py_INCREF
(
Py_None
);
return
(
Py_None
);
...
...
@@ -136,9 +108,6 @@ libvirt_virNetworkPtrWrap(virNetworkPtr node)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_virNetworkPtrWrap: node = %p
\n
"
,
node
);
#endif
if
(
node
==
NULL
)
{
Py_INCREF
(
Py_None
);
return
(
Py_None
);
...
...
@@ -154,9 +123,6 @@ libvirt_virStoragePoolPtrWrap(virStoragePoolPtr node)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_virStoragePoolPtrWrap: node = %p
\n
"
,
node
);
#endif
if
(
node
==
NULL
)
{
Py_INCREF
(
Py_None
);
return
(
Py_None
);
...
...
@@ -172,9 +138,6 @@ libvirt_virStorageVolPtrWrap(virStorageVolPtr node)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_virStorageVolPtrWrap: node = %p
\n
"
,
node
);
#endif
if
(
node
==
NULL
)
{
Py_INCREF
(
Py_None
);
return
(
Py_None
);
...
...
@@ -190,9 +153,6 @@ libvirt_virConnectPtrWrap(virConnectPtr node)
{
PyObject
*
ret
;
#ifdef DEBUG
printf
(
"libvirt_virConnectPtrWrap: node = %p
\n
"
,
node
);
#endif
if
(
node
==
NULL
)
{
Py_INCREF
(
Py_None
);
return
(
Py_None
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录