blob: 6e19065f4bed9c306aa7e86045bd870f63ba1178 [file] [log] [blame]
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#if defined(SK_BUILD_FOR_WIN)
#include "src/core/SkLeanWindows.h"
#include "src/ports/SkOSLibrary.h"
void* DynamicLoadLibrary(const char* libraryName) {
return LoadLibraryA(libraryName);
}
void* GetProcedureAddress(void* library, const char* functionName) {
return reinterpret_cast<void*>(::GetProcAddress((HMODULE)library, functionName));
}
#endif//defined(SK_BUILD_FOR_WIN)