
The type of the blkhdr parameter does not seem correct:

typedef struct _dwg_entity_POINT dwg_ent_generic;
...
 EXPORT Dwg_Entity_SEQEND *
 dwg_add_SEQEND (**_dwg_ent_generic_** *restrict blkhdr) 


As far as I understand, it should be like this:

EXPORT Dwg_Entity_SEQEND *
dwg_add_SEQEND (**_Dwg_Object_BLOCK_HEADER_** *restrict blkhdr)

Possible error in dwg_add_SEQEND (dwg_api.h)
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Possible error in dwg_add_SEQEND (dwg_api.h)
Issue date:

--- start body ---

The type of the blkhdr parameter does not seem correct:

typedef struct _dwg_entity_POINT dwg_ent_generic;
...
 EXPORT Dwg_Entity_SEQEND *
 dwg_add_SEQEND (**_dwg_ent_generic_** *restrict blkhdr) 


As far as I understand, it should be like this:

EXPORT Dwg_Entity_SEQEND *
dwg_add_SEQEND (**_Dwg_Object_BLOCK_HEADER_** *restrict blkhdr)

--- end body ---
