From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bbbeae4ed07e9626 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Address to function pointer conversion Date: 1997/06/20 Message-ID: #1/1 X-Deja-AN: 251455519 References: <5nrq5h$13cm@info4.rus.uni-stuttgart.de> <5o39sm$2fl6@info4.rus.uni-stuttgart.de> <33A5B0B3.7EA663D3@link.com> <33A6EF3D.505EEF54@link.com> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-06-20T00:00:00+00:00 List-Id: Sam says <<- You import dlsym, which returns a pointer-to-function (an address). You possibly do this several times if you expect it to return functions with different profiles. Then you can call dlsym, and call what it returns.>> Be sure to use pragma Convention C *on the function types involved*, not just on the subprograms themselves.