search for: gint64

Displaying 17 results from an estimated 17 matches for "gint64".

Did you mean: int64
2012 Jan 12
1
Libguestfs gobject bindings
I'm currently working on gobject bindings for libguestfs. I haven't got as far as compiling anything yet, but I've attached the C header for initial review. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 -------------- next part -------------- An embedded and
2007 Sep 06
0
3 commits - libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
...e (date->milliseconds)) { - return date->milliseconds + date->utc_offset * 60 * 1000; + return date->milliseconds + (double) date->utc_offset * 60 * 1000; } else { return 0; } @@ -148,7 +148,7 @@ static void swfdec_as_date_set_milliseconds_local (SwfdecAsDate *date, gint64 milliseconds) { date->milliseconds = - milliseconds - date->utc_offset * 60 * 1000; + milliseconds - (double) date->utc_offset * 60 * 1000; } static void @@ -181,7 +181,7 @@ swfdec_as_date_set_brokentime_utc (Swfde } else { date->milliseconds = 0; } - date->...
2016 Jan 15
2
Attn Packagers: Dependency change from gstreamer-0.10 to gstreamer >= 1.0
Hi all, The next release of Wine will include a commit which changes our winegstreamer dshow module to use the modern gstreamer 1.0 API instead of the long-deprecated gstreamer 0.10 API. dshow is used by some games and applications, including Microsoft Office, to display videos and play audio. Wine's winegstreamer allows applications that use dshow to support a wide variety of media through
2016 Jan 15
1
Attn Packagers: Dependency change from gstreamer-0.10 to gstreamer >= 1.0
...2.0 -I/usr/lib32/glib-2.0/include > > Andrew > > On Fri, Jan 15, 2016 at 09:46:14PM +0300, Paul Gofman wrote: >> Hi Andrew, >> >> when I compile latest git Wine as 32bit on my Fedora 23 (x86_64 >> arch), I get gstreamer configure error ("checking whether gint64 defined >> by gst/gst.h is indeed 64-bit: no"), and gstreamer gets disabled by auto >> configuration. I can solve the problem (gstreamer gets configured and >> compiled) if I specify gstreamer include dirs manually: >> GSTREAMER_CFLAGS='-pthread -I/usr/include/gstre...
2012 Jan 17
3
GObject bindings
This is the first iteration of the GObject bindings. I have 'kicked the tyres' on these, meaning I have ensured that a bunch of basic manual tests work as expected. I'm in the process of adding more comprehensive tests. Here's an example simple javascript program which uses these bindings: === const Guestfs = imports.gi.Guestfs; print('Starting'); var g = new
2012 Jan 20
2
GObject bindings overview
...e implemented as a separate gobject whose name is is Guestfs<camel api name>. This gobject has defined properties for each optional argument accepted by the api. All properties are initially undefined. Property types are mapped as: OBool -> GuestfsTristate OInt, OInt64 -> gint/gint64. -1 is used internally as a magic value to represent undefined. OString -> gchar *. NULL represents undefined. GuestfsTristate is a new boxed enum type with values FALSE, TRUE and UNSET. In the javascript bindings at least, passing in 'true' or 'false' here works as expect...
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
This reverts commit 3f6ca541c7b24d4c86688a509582cb41a7e0078c. The original commit was reverted prematurely. --- generator/generator_actions.ml | 10 +++++----- generator/generator_checks.ml | 5 +++++ generator/generator_types.ml | 3 +++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index
2012 Mar 28
1
[PATCH] Split gobject sources into 1 file per class
This patch replaces patches 14 and 15 from my previous series. The gtk-doc output is now reasonable, and we can rely on an automatically generated guestfs-sections.txt. Matt
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880 https://bugzilla.redhat.com/show_bug.cgi?id=847881 This patch series adds various optional arguments to the tar-in and tar-out commands. Firstly (1/7) an optional "compress" flag is added to select compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out deprecated, and expands the range of compression types available.
2020 Jan 28
4
[v2v PATCH v2 0/3] Use libosinfo for query device drivers
This patch series integrates libosinfo in virt-v2v to get the list of files for Windows from libosinfo, if possible. The actual data is still from virtio-win, just unpacked. Changes from v1: - adapt to use the priority in libosinfo 1.7.0+ - filter out non-pre-installable drivers - collect all the drivers matching the requirements, not just the first, sorting them by priority like libosinfo does
2014 Feb 10
5
[PATCH 0/4] add GUID validation (RHBZ#1008417)
Hi, this patch serie adds a new GUID type in the generator, which would do the same as String, but also validating (just in the C output) the passed GUID string. This allows to reject invalid GUIDs before passing them to low-level tools. Pino Toscano (4): utils: add a function to validate a GUID string generator: add a GUID parameter type generator: generate code for parameter validation
2012 Mar 27
16
[PATCH 01/16] generator: Fix unescaped '<' and '>' in api descriptions
--- generator/generator_actions.ml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 68a7bf6..fcf363f 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -4664,7 +4664,7 @@ This creates an ext2/3/4 filesystem on C<device> with an external journal on
2013 Jan 24
3
[REVIEW ONLY] Mountable patches
These 3 patches implement support for APIs which must accept a mountable, but don't update apis which must return mountables. Matt
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...r for Object's hasOwnProperty. Use it in trace_properties.as Merge branch 'master' of ssh://medar at git.freedesktop.org/git/swfdec/swfdec Replace gmtime_r, timegm, strftime with own function in Date object Fix couple of issues with big values in Date Change from gint64 to double in Date implementation and fix some bugs in it Move milliseconds to be part of the brokentime struct in Date and fix some bugs Some cleanups in Date code Some more Date cleanups Add test to see when XML.prototype's native properties are added Create XML.p...
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...(-) diff --git a/generator/GObject.ml b/generator/GObject.ml index cb96eb9cb..bb95b170c 100644 --- a/generator/GObject.ml +++ b/generator/GObject.ml @@ -77,19 +77,10 @@ let generate_gobject_proto name ?(single_line = true) pr "gint32 %s" n | Int64 n-> pr "gint64 %s" n - | String n - | Device n | Mountable n - | Pathname n - | Dev_or_Path n | Mountable_or_Path n - | OptString n - | Key n - | FileIn n - | FileOut n - | GUID n -> + | String (_, n) + | OptString n -> pr "const gcha...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2013 Feb 07
12
[PATCH 01/12] generator: Add new Mountable argument type
...ist n -> pr " '%s ...'" n diff --git a/generator/gobject.ml b/generator/gobject.ml index 9b18de1..5a36bfc 100644 --- a/generator/gobject.ml +++ b/generator/gobject.ml @@ -75,7 +75,7 @@ let generate_gobject_proto name ?(single_line = true) | Int64 n-> pr "gint64 %s" n | String n - | Device n + | Device n | Mountable n | Pathname n | Dev_or_Path n | OptString n @@ -1033,7 +1033,8 @@ guestfs_session_close(GuestfsSession *session, GError **err) pr " (transfer none) (type utf8):" | Op...