Introspect/Constant.js
authorAlan Knowles <alan@roojs.com>
Wed, 8 Aug 2012 10:25:26 +0000 (18:25 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Aug 2012 10:25:26 +0000 (18:25 +0800)
Introspect/Constant.js

index af4df63..157d650 100644 (file)
@@ -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 {