friend class in Python/Object.hh
[email protected] (Gilles J. Seguin)
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
/h2/syn/src/Synopsis/Python/Object.hh:92:
error: ‘Tuple’ has not been declared
/h2/syn/src/Synopsis/Python/Object.hh:93:
error: ‘Tuple’ has not been declared
/h2/syn/src/Synopsis/Python/Object.hh:93:
error: ‘Dict’ has not been declared
just done a new checkout, forget to add my patch for that,
can it be added or #ifdef
friend statements are a declaration for allowing access.
Subtle difference with the class statement.
> Index: src/Synopsis/Python/Object.hh
> ===================================================================
> --- src/Synopsis/Python/Object.hh (revision 1619)
> +++ src/Synopsis/Python/Object.hh (working copy)
> @@ -23,7 +23,9 @@
> {
> namespace Python
> {
> -
> +class Tuple;
> +class List;
> +class Dict;
> //. Object provides basic
> //. functionality to access the underlaying
> //. python object, to be used in subclasses and
>