소스 검색

- ValueToFFIValue is no longer needed

git-svn-id: trunk@42073 -
svenbarth 6 년 전
부모
커밋
45479302c1
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      packages/libffi/src/ffi.manager.pp

+ 0 - 8
packages/libffi/src/ffi.manager.pp

@@ -298,14 +298,6 @@ begin
     Result := True;
 end;
 
-function ValueToFFIValue(constref aValue: Pointer; aKind: TTypeKind; aFlags: TParamFlags; aIsResult: Boolean): Pointer;
-begin
-  if ArgIsIndirect(aKind, aFlags, aIsResult) then
-    Result := @aValue
-  else
-    Result := aValue;
-end;
-
 procedure FFIValueToValue(Source, Dest: Pointer; TypeInfo: PTypeInfo);
 var
   size: SizeInt;