+#include <cspi/spi-private.h>
+
/**
* AccessibleHypertext_ref:
* @obj: a pointer to the #AccessibleHypertext object on which to operate.
int
AccessibleHypertext_ref (AccessibleHypertext *obj)
{
- Accessibility_Hypertext_ref (*obj, &ev);
+ cspi_object_ref (obj);
return 0;
}
int
AccessibleHypertext_unref (AccessibleHypertext *obj)
{
- Accessibility_Hypertext_unref (*obj, &ev);
+ cspi_object_unref (obj);
return 0;
}
AccessibleHypertext_getNLinks (AccessibleHypertext *obj)
{
return (long)
- Accessibility_Hypertext_getNLinks (*obj, &ev);
+ Accessibility_Hypertext_getNLinks (CSPI_OBJREF (obj), cspi_ev ());
}
long int linkIndex)
{
return (AccessibleHyperlink *)
- Accessibility_Hypertext_getLink (*obj,
- (CORBA_long) linkIndex, &ev);
+ Accessibility_Hypertext_getLink (CSPI_OBJREF (obj),
+ (CORBA_long) linkIndex, cspi_ev ());
}
long int characterOffset)
{
return (long)
- Accessibility_Hypertext_getLinkIndex (*obj,
- (CORBA_long) characterOffset, &ev);
+ Accessibility_Hypertext_getLinkIndex (CSPI_OBJREF (obj),
+ (CORBA_long) characterOffset, cspi_ev ());
}