#version 1
-const Foo: int = 5; [[doc for constant]]
+const Foo: int = 5; [[doc for constant @since 1.66]]
class Class_Simple {
- [[Class Desc Simple]]
+ [[Class Desc Simple @since 1.66]]
c_prefix: efl_canvas_object_simple;
data: Evas_Simple_Data;
methods {
#ifndef FOO
/** doc for constant
*
+ * @since 1.66
+ *
* @ingroup Foo
*/
#define FOO 5
#endif
/** Class Desc Simple
*
+ * @since 1.66
+ *
* @ingroup Class_Simple
*/
#define CLASS_SIMPLE_CLASS class_simple_class_get()
*
* @return comment for property set return
*
+ * @since 1.66
+ *
* @ingroup Class_Simple
*/
EOAPI Eina_Bool efl_canvas_object_simple_a_set(Eo *obj, int value);
*
* @return Value description
*
+ * @since 1.66
+ *
* @ingroup Class_Simple
*/
EOAPI int efl_canvas_object_simple_a_get(const Eo *obj);
*
* @return comment for method return
*
+ * @since 1.66
+ *
* @ingroup Class_Simple
*/
EOAPI char *efl_canvas_object_simple_foo(Eo *obj, int a, char *b, double *c, int *d);
class Consts {
+ [[Consts @since 1.66]]
methods {
foo @const {
[[comment foo]]
*
* More docs for typedef. See @ref Bar.
*
- * @since 2.0
+ * @since 1.1337
*
* @ingroup Alias
*/
#ifndef PANTS
/** Docs for var.
*
+ * @since 1.66
+ *
* @ingroup pants
*/
#define PANTS 150
/** Opaque struct docs. See @ref Foo for another struct.
*
+ * @since 1.66
+ *
* @ingroup Opaque
*/
typedef struct _Opaque Opaque;
* @ref PANTS @ref eo_docs_meth @ref eo_docs_prop_get @ref eo_docs_prop_get
* @ref eo_docs_prop_set @ref Foo.field1 @ref BAR_FOO @ref Eo_Docs
*
- * @since 1.18
+ * @since 1.66
*
* @ingroup Eo_Docs
*/
*
* @return Return documentation.
*
- * @since 1.18
+ * @since 1.66
*
* @ingroup Eo_Docs
*/
* @param[in] obj The object.
* @param[in] val Value documentation.
*
- * @since 1.18
+ * @since 1.66
*
* @ingroup Eo_Docs
*/
*
* @return Value documentation.
*
- * @since 1.18
+ * @since 1.66
*
* @ingroup Eo_Docs
*/
/** No description supplied.
*
- * @since 1.18
+ * @since 1.66
*
* @ingroup Eo_Docs
*/
/** Event docs.
*
- * @since 1.18
+ * @since 1.66
*
* @ingroup Eo_Docs
*/
type Alias: Bar; [[Docs for typedef.
More docs for typedef.
- See @Bar. @since 2.0
+ See @Bar. @since 1.1337
]]
-const pants: int = 150; [[Docs for var.]]
+const pants: int = 150; [[Docs for var. @since 1.66]]
-struct Opaque; [[Opaque struct docs. See @Foo for another struct.]]
+struct Opaque; [[Opaque struct docs. See @Foo for another struct. @since 1.66]]
class Eo_Docs {
[[Docs for class.
@Bar.foo
@Eo_Docs
- @since 1.18
+ @since 1.66
]]
methods {
meth {
}
@property prop {
[[Property common documentation.
-
- @since 1.18
]]
get {
[[Get documentation.]]
abstract Object_Impl extends Base {
+ [[Object Impl @since 1.66]]
methods {
@property a @beta {
set {
abstract Override extends Base {
+ [[Override @since 1.66]]
methods {
@property a {
set @pure_virtual {
}
class Struct {
+ [[Struct @since 1.66]]
methods {
foo {
[[Foo docs. This is $monospace. This is alone-standing $.]]
#endif
+/** Struct
+ *
+ * @since 1.66
+ *
+ * @ingroup Struct
+ */
#define STRUCT_CLASS struct_class_get()
EWAPI const Efl_Class *struct_class_get(void);
* @param[in] obj The object.
* @param[in] idx
*
+ * @since 1.66
+ *
* @ingroup Struct
*/
EOAPI char *struct_foo(Eo *obj, int idx) EFL_TRANSFER_OWNERSHIP EINA_WARN_UNUSED_RESULT;
fail_if(strcmp(eolian_documentation_description_get(doc),
"More docs for typedef. See @Bar."));
fail_if(strcmp(eolian_documentation_since_get(doc),
- "2.0"));
+ "1.1337"));
fail_if(!(var = eolian_unit_constant_by_name_get(unit, "pants")));
fail_if(!(doc = eolian_constant_documentation_get(var)));
"Property common documentation."));
fail_if(eolian_documentation_description_get(doc));
fail_if(strcmp(eolian_documentation_since_get(doc),
- "1.18"));
+ "1.66"));
fail_if(!(doc = eolian_implement_documentation_get(fimp, EOLIAN_PROP_GET)));
fail_if(strcmp(eolian_documentation_summary_get(doc),
"Get documentation."));