* remove old cdecl record hack, fixes linker errors with aspell on mac os x

git-svn-id: trunk@23397 -
This commit is contained in:
Almindor 2013-01-16 04:44:49 +00:00
parent 38da152b11
commit 235bda8746

View File

@ -279,7 +279,7 @@ uses
* NULL and token.size will be 0 }
// internal hacky version to go around a bug regarding struct results/cdecl
function __aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):{$IFDEF CPU64}{$IFDEF LINUX}QWord{$ELSE}AspellToken{$ENDIF}{$ELSE}AspellToken{$ENDIF};cdecl;external libaspell name 'aspell_document_checker_next_misspelling';
function aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):AspellToken;cdecl;external libaspell name 'aspell_document_checker_next_misspelling';
{ Returns the underlying filter class. }
@ -433,7 +433,6 @@ uses
function aspell_init(const libn: ansistring): Boolean;
function aspell_loaded: Boolean;
function aspell_document_checker_next_misspelling(ths:PAspellDocumentChecker):AspellToken;
implementation
@ -447,11 +446,4 @@ begin
aspell_loaded := True;
end;
function aspell_document_checker_next_misspelling(ths: PAspellDocumentChecker
): AspellToken;
begin
// yup...
aspell_document_checker_next_misspelling := AspellToken(__aspell_document_checker_next_misspelling(ths));
end;
end.