Displaying 2 results from an estimated 2 matches for "shmmap_c".
Did you mean:
shmmap
2001 Sep 10
1
new DLL additions in core libs
Chris, re the DLL additions:
In a word, *no*.
That much Win32 specific code does not belong in a lib that's pure
math and totally platform agnostic. It may be appropriate, assuming
it's necessary, to add this in the win32 specific SDKs, but it has no
business in the core libvorbis. Please move it out to a more
appropriate place as soon as you possibly can.
Secondly: I'd like to
2001 Oct 17
2
win32sdk shared memory issue -- proposed change of code
...clspec(dllexport) -- unlike procedures (functions), it is mandatory for a DLL
client to access that variable via _cdeclspec(dllimport).
It is unnecessary to allocate dynamic memory and then copy pointers
to that allocated memory, as is done with the vorbis/win32/src/shmmap.h and
vorbis/win32/src/shmmap_c.h stuff.
In otherwords, we've come full circle -- it looks like the linking paradigm in Windows
is closer to what would be expected when developing under UNIX, after all...
...well -- almost, as mentioned, the "_cdeclspec(dllimport)" attribute is required, such that
a modification...