Merge pull request #310 from Arkshine/update-latest-amtl-refptr
Update to the latest AMTL - Rename Ref to RefPtr.
This commit is contained in:
		@@ -161,7 +161,7 @@ bool CDirectory::IsValid()
 | 
			
		||||
/* Library Code */
 | 
			
		||||
/****************/
 | 
			
		||||
 | 
			
		||||
CLibrary::CLibrary(ke::Ref<ke::SharedLib> lib) : lib_(lib)
 | 
			
		||||
CLibrary::CLibrary(ke::RefPtr<ke::SharedLib> lib) : lib_(lib)
 | 
			
		||||
{}
 | 
			
		||||
 | 
			
		||||
void CLibrary::CloseLibrary()
 | 
			
		||||
@@ -209,7 +209,7 @@ CDirectory *LibrarySystem::OpenDirectory(const char* path)
 | 
			
		||||
 | 
			
		||||
CLibrary* LibrarySystem::OpenLibrary(const char* path, char* error, size_t maxlength)
 | 
			
		||||
{
 | 
			
		||||
	ke::Ref<ke::SharedLib> lib = ke::SharedLib::Open(path, error, maxlength);
 | 
			
		||||
	ke::RefPtr<ke::SharedLib> lib = ke::SharedLib::Open(path, error, maxlength);
 | 
			
		||||
 | 
			
		||||
	if (!lib)
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
@@ -119,7 +119,7 @@ class CLibrary
 | 
			
		||||
{
 | 
			
		||||
	public:
 | 
			
		||||
 | 
			
		||||
		CLibrary(ke::Ref<ke::SharedLib> lib);
 | 
			
		||||
		CLibrary(ke::RefPtr<ke::SharedLib> lib);
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
 | 
			
		||||
@@ -128,7 +128,7 @@ class CLibrary
 | 
			
		||||
 | 
			
		||||
	private:
 | 
			
		||||
 | 
			
		||||
		ke::Ref<ke::SharedLib> lib_;
 | 
			
		||||
		ke::RefPtr<ke::SharedLib> lib_;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
class LibrarySystem
 | 
			
		||||
 
 | 
			
		||||
 Submodule public/amtl updated: c35532ced5...0011210ae3
									
								
							
		Reference in New Issue
	
	Block a user