diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb index 661756353f..03f49cb2ae 100644 --- a/test/ruby/memory_status.rb +++ b/test/ruby/memory_status.rb @@ -55,8 +55,8 @@ module Memory typealias "PPROCESS_MEMORY_COUNTERS", "PROCESS_MEMORY_COUNTERS*" - extern "HANDLE GetCurrentProcess(), :stdcall" - extern "BOOL GetProcessMemoryInfo(HANDLE, PPROCESS_MEMORY_COUNTERS, DWORD), :stdcall" + extern "HANDLE GetCurrentProcess()", :stdcall + extern "BOOL GetProcessMemoryInfo(HANDLE, PPROCESS_MEMORY_COUNTERS, DWORD)", :stdcall module_function def memory_info