Displaying 4 results from an estimated 4 matches for "_nbdkit_functions".
2020 Mar 23
0
[PATCH nbdkit 1/3] include: Function indirection for PE DLL
...xtent (struct nbdkit_extents *,
uint64_t offset, uint64_t length, uint32_t type);
+#else
+static void nbdkit_error (const char *msg, ...)
+ ATTRIBUTE_FORMAT_PRINTF (1, 2);
+static void nbdkit_error (const char *msg, ...)
+{
+ va_list args;
+ va_start(args, msg);
+ _nbdkit_functions.verror(msg, args);
+ va_end(args);
+}
+static void nbdkit_verror (const char *msg, va_list args)
+ ATTRIBUTE_FORMAT_PRINTF (1, 0);
+static void nbdkit_verror (const char *msg, va_list args)
+{
+ _nbdkit_functions.verror (msg, args);
+}
+static void nbdkit_debug (const char *msg, ...)
+ ATTRIBUT...
2020 Mar 23
6
[PATCH nbdkit 0/3] msys2 support for review
I pushed a few of the msys2 patches upstream. I changed the way that
$(SHARED_LDFLAGS) works so it's more to my liking, and the others were
pushed unchanged. Three patches remain which I'm posting on the
mailing list for proper review.
Rich.
2020 Mar 21
4
nbdkit / mingw support
...mingw is needed for something, then this would be fine.
* Unclear why it's necessary to rename nbdkit-common.h -> nbdkit-compat.h ?
While this isn't API, it seems we should not rename it unless there's
a good reason.
* Functions are indirected through struct nbdkit_functions
_nbdkit_functions which I guess is necessary because of PE linking
(we've had similar problems with PE linking restrictions in other
programs). However I wasn't very clear how this actually works, and
we cannot break existing Linux binaries, so this needs more thought
and must be conditional on Wind...
2020 Mar 22
2
Re: nbdkit / mingw support
...wering a few questions:
* Unclear why it's necessary to rename nbdkit-common.h -> nbdkit-compat.h
- It's not a rename, but a new file. nbdkit-compat.h is included for PE DLL
compatibility, and is included in nbdkit-common.h
* Functions are indirected through struct nbdkit_functions
_nbdkit_functions which I guess is necessary because of PE linking
(we've had similar problems with PE linking restrictions in other
programs). However I wasn't very clear how this actually works, and
we cannot break existing Linux binaries, so this needs more thought
and must be conditional on Wind...