Re: Sharing static variables or function between source files.



sololoquist <excuse_me_who_am_i@xxxxxxxxxxx> wrote:

Is it not necessary to make
extern void foo;
into
extern void foo();
are the parenthesis unnecessary when used with extern like for an array
the size ??

please elaborate. thanx

With pleasure; I blew it, and you are right - the parentheses are
necessary. I'm glad you caught the error. No more late night posts
(until next time).

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
.



Relevant Pages

  • Re: Newbie: API function call with array pointer as argument
    ... FieldOffset attribute as well), initialized to to LayoutKind.Sequential. ... public static unsafe extern void glMultMatrixd; ... use an actual array, and define properties as convenience accessors. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: byte[] resizen? (vergleich der Methoden)
    ... public static extern void Copy(Array sourceArray, int sourceIndex, Array ... destinationArray, int destinationIndex, int length); ... > Hallo Dennis & Matthias ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Newbie: API function call with array pointer as argument
    ... public static unsafe extern void glMultMatrixd; ... You will have to copy the values to an array (so that you can guarantee ... class CMatrix ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Optimization bug in VC++ 6.0
    ... Is the "tab" array meant to be an array of function pointers, ... you intend to call fand store a returned pointer in the array? ... extern void * f; ...
    (microsoft.public.vc.language)