FunctionPackage: ffToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

get-entry-point

Arguments: name

This function returns two values. The first is the entry point for name, which must be a string. nil is returned if name does not have an entry point.

The second returned value is the handle of the .so/.sl/.dll/.dylib library in which the symbol was found.

For example, "aclmalloc" is the name of the C function called by aclmalloc. Using this function, we find its entry point is 1872778976 and the handle of its library is 4. Using get-shared-library-handle and get-shared-library-name, we find it is in the Allegro CL shared library called (on this machine and in this run) "libacli61pf4.so" (the name you see will be different).

cl-user(101): (ff:get-entry-point "aclmalloc")
1872778976
4
cl-user(102): (get-shared-library-handle)
4
cl-user(103): (get-shared-library-name)
"libacli61pf4.so"
cl-user(104): 

See ftype.htm for information on foreign types in Allegro CL and foreign-functions.htm for general information on foreign functions in Allegro CL.


Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 9.0. This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version