Mercurial > pidgin
view libpurple/plugins/mono/api/BuddyList.cs @ 31776:eb7dfb01640d
Complete the conversion of win32 utsname construction to bounds-checked access.
This patch changes strcat to g_strlcat with appropriate bounds.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 17 Jul 2011 20:55:12 +0000 |
parents | 93bfbda79bf6 |
children |
line wrap: on
line source
namespace Purple { using System; using System.Runtime.CompilerServices; public class BuddyList { [MethodImplAttribute(MethodImplOptions.InternalCall)] extern private static IntPtr _get_handle(); private static IntPtr handle = _get_handle(); public static Event OnBuddyStatusChanged = new Event(handle, "buddy-status-changed"); public static IntPtr GetHandle() { return _get_handle(); } } }