new public static string[] get_config_argv(string section, string name, ref int argc) { ManagedPointer mp = new ManagedPointer(AllegroAPI.get_config_argv(section, name, ref argc)); string[] ret = new string[argc]; for (int i = 0; i < argc; i++) { ret[i] = mp.ReadString(i * sizeof(Int32)); } return(ret); }