]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote generator: Legacy support for hyper to long mappings
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 30 May 2011 10:58:57 +0000 (12:58 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 1 Jun 2011 13:51:01 +0000 (15:51 +0200)
commit32abd5ee265a6d06df42dff903f74c886a939e58
tree327812bdee6ef96723ff963964ae2dab76a2925f
parentd191b801f3a5d123a931a649f48fa172707dc820
remote generator: Legacy support for hyper to long mappings

Remove some special case code that took care of mapping hyper to the
correct C types.

As the list of procedures that is allowed to map hyper to long is fixed
put it in the generator instead annotations in the .x files. This
results in simpler .x file parsing code.

Use macros for hyper to long assignments that perform overflow checks
when long is smaller than hyper. Map hyper to long long by default.

Suggested by Eric Blake.
configure.ac
daemon/remote.c
daemon/remote_generator.pl
src/remote/remote_driver.c