Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
reference:cpp_type_binding [2012/03/30 16:25] – created gawrilow | reference:cpp_type_binding [2012/03/31 09:27] – [Method generation] gawrilow | ||
---|---|---|---|
Line 13: | Line 13: | ||
? '' | ? '' | ||
:: Tells that the values of this property type are kept as plain perl entities (numbers, strings, anonymous references, ...) without C++ objects lurking in the magic storage, but when such a value is passed to a C++ function, the glue code must be generated as to accept the specified C++ type. There is a very limited list of property types declared with this attribute, all of them residing in '' | :: Tells that the values of this property type are kept as plain perl entities (numbers, strings, anonymous references, ...) without C++ objects lurking in the magic storage, but when such a value is passed to a C++ function, the glue code must be generated as to accept the specified C++ type. There is a very limited list of property types declared with this attribute, all of them residing in '' | ||
- | ? '' | + | ? '' |
:: Introduces an enumeration type and named constants. | :: Introduces an enumeration type and named constants. | ||
? '' | ? '' | ||
Line 30: | Line 30: | ||
* structure constructor for composite types: '' | * structure constructor for composite types: '' | ||
.. If the C++ class bound to it does not support the corresponding operation, for example, it is lacking the default constructor or the input '' | .. If the C++ class bound to it does not support the corresponding operation, for example, it is lacking the default constructor or the input '' | ||
- | ? '' | + | ? '' |
:: For a composite type, creates methods with given names accessing the members (aka fields of a structure). | :: For a composite type, creates methods with given names accessing the members (aka fields of a structure). | ||
? '' | ? '' |