All pastes #338067 Raw Edit

aib

public cpp v1 · immutable
·published 2007-02-03 04:32 UTC
rendered paste body
void taPlugins::EnumeratePlugins() {  String folder;  for (int i = 0; i < plugin_folders.size; ++i) {=>  folder = plugin_folders.FastEl(i);    QDir pluginsDir(folder);    // enumerate all files in the folder, and try loading    foreach (QString fileName, pluginsDir.entryList(QDir::Files)) {      taPluginInst* pl = LoadPlugin(pluginsDir.absoluteFilePath(fileName));      if (pl) {        plugins.Add(pl);      }    }  }}(gdb)print folder$16 = {static con_0 = {static con_0 = <same as static member of an already seen type>, static con_1 = {      static con_0 = <same as static member of an already seen type>, static con_1 = <same as static member of an already seen type>, static con_NULL = {        static con_0 = <same as static member of an already seen type>, static con_1 = <same as static member of an already seen type>,        static con_NULL = <same as static member of an already seen type>, mrep = 0x81c00e8}, mrep = 0x81c00d0},    static con_NULL = <same as static member of an already seen type>, mrep = 0x81c00b8}, static con_1 = <same as static member of an already seen type>,  static con_NULL = <same as static member of an already seen type>, mrep = 0x40e77aa8}print &folder$17 = (taString *) 0xbfe12d28