RE: [sv-bc] 1800-2009 I.3 DPI Source comments flipped (SV)

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Thu Jan 28 2010 - 02:17:08 PST

There is also the following code later on:

/* Use to export a symbol */
#if WIN32
#ifndef PLI_DLLISPEC
#define PLI_DLLISPEC __declspec(dllimport)
#define VPI_USER_DEFINED_DLLISPEC 1
#endif
#else
#ifndef PLI_DLLISPEC
#define PLI_DLLISPEC
#endif
#endif

/* Use to import a symbol */
#if WIN32
#ifndef PLI_DLLESPEC
#define PLI_DLLESPEC __declspec(dllexport)
#define VPI_USER_DEFINED_DLLESPEC 1
#endif
#else
#ifndef PLI_DLLESPEC
#define PLI_DLLESPEC
#endif
#endif

Shalom

> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On
> Behalf Of Neil Korpusik
> Sent: Thursday, January 28, 2010 3:15 AM
> To: Wilson Snyder
> Cc: sv-bc@eda.org; SV-CC
> Subject: Re: [sv-bc] 1800-2009 I.3 DPI Source comments flipped (SV)
>
> <forwarding to the sv-cc, where the DPI issues are handled>
>
> On 01/27/10 17:03, Wilson Snyder wrote:
> > Pretty trivial, but there's a typo in 1800-2009, section
> > "I.3 [DPI] Source code". The two comments are swapped, it
> > should be import, then export.
> >
> > Thanks
> >
> > /* Use to export a symbol from application */
> > #if defined (_MSC_VER)
> > #define DPI_DLLISPEC __declspec(dllimport)
> > #else
> > #define DPI_DLLISPEC
> > #endif
> >
> > /* Use to import a symbol into application */
> > #if defined (_MSC_VER)
> > #define DPI_DLLESPEC __declspec(dllexport)
> > #else
> > #define DPI_DLLESPEC
> > #endif
> >
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 28 02:17:43 2010

This archive was generated by hypermail 2.1.8 : Thu Jan 28 2010 - 02:17:50 PST