Skip to contentSkip to conversation

Question on Destroy Object

Printing-architecture Petrie, Glen 2 participants 2 messages Aug 31, 2007

lore
Share & tools
lore
#0 lore raw

for the fsgJTAPI - 'fsgDestroy(object)' is it the intent the any attributes bound to (for) the 'object' are automatically destroyed or should the programmer explicitly destroy individual attributes.

Also, am I correct on the following

I believe that in fsgjt_enum.h there should be a

#define FSGJT_VT_JOB_TICKET_OBJECT "JOB_TICKET_OBJECT"

which is used in "fsgjtNewJobTicketInfo"

I believe that in fsgjt_enum.h there is an error ---

4// error #define FSGJT_VT_SEPARATOR_SHEET_ENUM
"SEPARATOR_SHEET_ENUM"

should be

#define FSGJT_VT_SEPARATOR_SHEET_TYPE_ENUM
"SEPARATOR_SHEET_TYPE_ENUM"

Rgds,
Glen W. Petrie
Epson Imaging Technology Center
2580 Orchard Parkway, Suite 200
San Jose, CA, 95131
Voice: 408.576.4131 Fax: 408.474.0511

#1 lore raw

Hi Glen,

YES - it's the intent that Destroy (aka free) is recursive and will destroy individual attributes (even if they are contained objects).

YES - I think the enum name should be changed (although it must also be corrected in "fsgjt_separator_sheet.h", remember).

I see there are other inconsistencies, where a finishing object's type doesn't contain the "Type" suffix. Not sure why.

Claudia - can you straighten us out on this?

Cheers,
- Ira

Quoted 43 lines · Glen

for the fsgJTAPI - 'fsgDestroy(object)' is it the intent the any attributes bound to (for) the 'object' are automatically destroyed or should the programmer explicitly destroy individual attributes.

Also, am I correct on the following

I believe that in fsgjt_enum.h there should be a

#define FSGJT_VT_JOB_TICKET_OBJECT
"JOB_TICKET_OBJECT"

which is used in "fsgjtNewJobTicketInfo"

I believe that in fsgjt_enum.h there is an error ---

4// error #define FSGJT_VT_SEPARATOR_SHEET_ENUM
"SEPARATOR_SHEET_ENUM"

should be

#define FSGJT_VT_SEPARATOR_SHEET_TYPE_ENUM
"SEPARATOR_SHEET_TYPE_ENUM"

Rgds,
Glen W. Petrie
Epson Imaging Technology Center
2580 Orchard Parkway, Suite 200
San Jose, CA, 95131
Voice: 408.576.4131 Fax: 408.474.0511

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

Signature · 7 lines
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music / High North Inc
PO Box 221  Grand Marais, MI  49839
work: +1-906-494-2434
home: +1-906-494-2697
email: [email protected]