Re: [Xen-devel] [PATCH v4 1/5] libxl: constify copy and length calculation functions

2016-07-11 Thread Ian Jackson
Wei Liu writes ("[PATCH v4 1/5] libxl: constify copy and length calculation functions"): > These functions are not supposed to modify the passed in parameters. > Reflect that in function declarations. Acked-by: Ian Jackson ___ Xen-devel mailing list X

[Xen-devel] [PATCH v4 1/5] libxl: constify copy and length calculation functions

2016-07-11 Thread Wei Liu
These functions are not supposed to modify the passed in parameters. Reflect that in function declarations. Mark the change in APIs in libxl.h Signed-off-by: Wei Liu --- Cc: Ian Jackson --- tools/libxl/gentypes.py | 4 ++-- tools/libxl/libxl.c | 10 +- tools/libxl/libxl.