Added support for automatic ordinal allocation.

Output list of function names in sorted order.
Added support for nameless (ordinal-only) entry points.
Cleaned up error handling.
oldstable
Alexandre Julliard 1999-12-26 23:11:58 +00:00
parent c553924ddd
commit 5919ae42cb
3 changed files with 295 additions and 372 deletions

View File

@ -537,10 +537,9 @@ ENTRYPOINT32 BUILTIN32_GetEntryPoint( char *buffer, void *relay,
for (i = 0; i < dll->descr->nb_names; i++)
if (dll->descr->ordinals[i] == ordinal) break;
assert( i < dll->descr->nb_names );
sprintf( buffer, "%s.%d: %s", dll->descr->name, ordinal + dll->descr->base,
dll->descr->names[i] );
(i < dll->descr->nb_names) ? dll->descr->names[i] : "@" );
*typemask = dll->descr->argtypes[ordinal];
return dll->descr->functions[ordinal];
}

View File

@ -70,7 +70,8 @@ Function ordinals:
This type defines a function entry point. The prototype defined by
"EXPORTNAME ([ARGTYPE [ARGTYPE [...]]])" specifies the name available for
dynamic linking and the format of the arguments. "ORDINAL" is replaced
by the ordinal number corresponding to the function.
by the ordinal number corresponding to the function, or "@" for
automatic ordinal allocation (Win32 only).
"FUNCTYPE" should be one of:
- "pascal16" for a Win16 function returning a 16-bit value

File diff suppressed because it is too large Load Diff