Grss.Person¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Grss.Person¶
GrssPerson
is an opaque structure whose members cannot be accessed directly.New in version 0.7.
- classmethod new(name, email, uri)¶
- Parameters:
- Returns:
a new
Grss.Person
, orNone
- Return type:
Creates a new
Grss.Person
.New in version 0.7.
- get_email()¶
- Returns:
the email of person. The returned string is owned by
Grss.Person
and it should not be modified or freed.- Return type:
New in version 0.7.
- get_name()¶
- Returns:
the name of person. The returned string is owned by
Grss.Person
and it should not be modified or freed.- Return type:
New in version 0.7.
- get_uri()¶
- Returns:
the website (uri) of person. The returned string is owned by
Grss.Person
and it should not be modified or freed.- Return type:
New in version 0.7.
- ref()¶
- Returns:
the
Grss.Person
with the reference count increased- Return type:
Atomically increments the reference count of self by one.
New in version 0.7.
- unref()¶
Atomically decrements the reference count of self by one.
When the reference count reaches zero, the resources allocated by self are freed
New in version 0.7.