[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libredwg] [patch #9590] fix the api, examples and unit-tests
From: |
Reini Urban |
Subject: |
[libredwg] [patch #9590] fix the api, examples and unit-tests |
Date: |
Mon, 12 Mar 2018 11:25:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 |
URL:
<http://savannah.gnu.org/patch/?9590>
Summary: fix the api, examples and unit-tests
Project: LibreDWG
Submitted by: reini_urban
Submitted on: Mon 12 Mar 2018 03:25:46 PM UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In addition to #9588 this series of patches fixes the api and fixes encode
with insert_handles.
add missing checks for an empty 2nd arg
add missing return values in the error case.
LOG_ERROR
declare all accessors, fixing x86_64
E.g. fixing
http://lists.gnu.org/archive/html/libredwg/2017-07/msg00000.html
caused by the wrong default type being added for the undeclared
functions, capping
pointers at 32bit.
change TV from unsigned char* to char*, only the internal
methods need to use unsigned char*. harmonized with the external field
types.
changed *get_block_size accessors to return the natural unsigned long *
type, not
long *.
change API to return pointers, not structs for:
dwg_obj_appid_get_appid_control, dwg_obj_get_handle,
dwg_ent_insert_get_ref_handle
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 12 Mar 2018 03:25:46 PM UTC Name: 0002-fix-dwg_api.patch Size:
950KiB By: reini_urban
<http://savannah.gnu.org/patch/download.php?file_id=43524>
-------------------------------------------------------
Date: Mon 12 Mar 2018 03:25:46 PM UTC Name:
0004-xmlsuite-unsigned-char-conversion.patch Size: 6KiB By: reini_urban
<http://savannah.gnu.org/patch/download.php?file_id=43525>
-------------------------------------------------------
Date: Mon 12 Mar 2018 03:25:46 PM UTC Name: 0003-fixup-examples.patch Size:
13KiB By: reini_urban
<http://savannah.gnu.org/patch/download.php?file_id=43526>
-------------------------------------------------------
Date: Mon 12 Mar 2018 03:25:46 PM UTC Name:
0005-dwg.spec-layout_handle-in-BLOCK_HEADER-is-code-5.patch Size: 721B By:
reini_urban
<http://savannah.gnu.org/patch/download.php?file_id=43527>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9590>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [libredwg] [patch #9590] fix the api, examples and unit-tests,
Reini Urban <=