Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_linux_programming thread: Shared Library - How to export certain number of function


Message #1 by "Uma Maheswaran.A" <uma@l...> on Fri, 7 Dec 2001 03:59:43 +0530
This is a multi-part message in MIME format.

------=_NextPart_000_0059_01C17F65.AA5E0F40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

In your file if you say

func1()
{
}

func2()
{
}

static func3()
{
}

then func1 and func2 can be called from outside,
but func3 cannot.

Neil

  ----- Original Message -----
  From: Uma Maheswaran.A
  To: Pro Linux Programming
  Sent: 06 December 2001 22:52
  Subject: [pro_linux_programming] Re: Shared Library - How to export 
certain number of function


  Neil ,
       Sorry, i could not able to understood your suggestion.
  
  Uma

    ----- Original Message -----
    From: Neil Matthew
    To: Pro Linux Programming
    Sent: Friday, December 07, 2001 10:45 AM
    Subject: [pro_linux_programming] Re: Shared Library - How to export 
certain number of function


    Try declaring the function you do not need to export as "static"

    Regards
    Neil

$subst('Email.Unsub').



  Return to Index