You've already forked lazarus-ccr
Removed CustApp dependency of gir2pas
Implemented some small amount of framework to create pascal classes from gobjects. Fixed some bugs where properties would not find setters and getters properly when actually available git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -482,7 +482,9 @@ begin
|
||||
if FPos > 0 then // type includes namespace "NameSpace.Type"
|
||||
begin
|
||||
NSString:=Copy(AName,1,FPos-1);
|
||||
NS := (Owner As TgirNamespaces).FindNameSpace(NSString);
|
||||
|
||||
//NS := (Owner As TgirNamespaces).FindNameSpace(NSString);
|
||||
NS := TgirNamespaces(Owner).FindNameSpace(NSString);
|
||||
if NS = nil then
|
||||
girError(geError, 'Referenced Namespace "'+NSString+'" not found while looking for '+AName);
|
||||
AName := Copy(AName, FPos+1, Length(AName));
|
||||
@@ -490,6 +492,7 @@ begin
|
||||
|
||||
if NS <> Self then SearchOnly:=True;
|
||||
|
||||
//if NS <> Self then WriteLn('Self NS = ', NameSpace, ' Lookup NS = ', NS.NameSpace);
|
||||
Result := TGirBaseType(NS.Types.Find(AName));
|
||||
if (Result <> nil) and (Result.ObjectType = otFuzzyType) and (TgirFuzzyType(Result).ResolvedType <> nil) then
|
||||
Result := TgirFuzzyType(Result).ResolvedType;
|
||||
|
Reference in New Issue
Block a user