> stephenw$ ./ldapapi.st
> started
> ... about to run the search.
> ./ldapapi.st:117: Attempt to pass an instance of SmallInteger as a void *
timeout: 0
should be "timeout: nil". I should add an argument index to the error
message. Also, here:
> <cCall: 'ldap_search_ext_s' returning: #int args: #(#self
> #string #int #string #cObject #int #cObject #cObject #cObject #int
> #{LDAPMessage})>
... the final argument should be #cObjectPtr (void **).
>
> " ldap_first_entry C definition --------------
> LDAP_F( LDAPMessage * )
> ldap_first_entry LDAP_P((
> LDAP *ld,
> LDAPMessage *chain ));
> --------------"
> firstEntry: searchResult [
> <cCall: 'ldap_first_entry' returning: #{LDAPMessage} args:
> #(#self #{LDAPMessage})> ]
Likewise, here it can be #cObject, i.e. void *, but it should not be a
problem to leave it as is.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk