That function operates on an edgelist and returns all edges that reference a given surface.
You can create a list of edges from an object with:
Code:
Prototype List *ac_object_get_edges(ACObject *ob)
or use:
Code:
Prototype List *ac_selection_get_edges(Boolean wholesurfaces)
Note that AC3D objects don't maintain edge structures - these functions create temporary edge structures for use in some of AC3D's other functions. Free an edgelist with:
Code:
Prototype void ac_edgelist_free(List **e)
Andy