projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c366c2
)
Introspect/Constant.js
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Aug 2012 10:25:26 +0000
(18:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Aug 2012 10:25:26 +0000
(18:25 +0800)
Introspect/Constant.js
patch
|
blob
|
history
diff --git
a/Introspect/Constant.js
b/Introspect/Constant.js
index
af4df63
..
157d650
100644
(file)
--- a/
Introspect/Constant.js
+++ b/
Introspect/Constant.js
@@
-16,6
+16,11
@@
Basic = imports.Basic.Basic;
/**
* Constant
+ *
+ * NEEDS <function name="constant_info_get_value"
+ c:identifier="g_constant_info_get_value"
+ introspectable="1">
+
*/
@@
-39,6
+44,7
@@
Constant = XObject.define(
GI.constant_info_get_value ?
GI.constant_info_get_value ( prop ,argm) :
prop.get_value(argm);
+
if (ty != 'utf8') {
this.value = argm.v_long;
} else {