Ejemplo n.º 1
0
 /// <summary>
 /// Retrieve the argument cursor of a function or method.
 /// </summary>
 /// <remarks>
 /// The argument cursor can be determined for calls as well as for declarations
 /// of functions or methods. For other cursors and for invalid indices, an
 /// invalid cursor is returned.
 /// </remarks>
 public ClangCursor GetArgument(int index)
 {
     return(new ClangCursor(LibClang.clang_Cursor_getArgument(source, (uint)index)));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get Argument Clang Cursor
 /// </summary>
 /// <param name="i">Index</param>
 /// <returns>Argument Clang Cursor</returns>
 public ClangCursor GetArgument(int i)
 {
     return(LibClang.clang_Cursor_getArgument(this.Source, (uint)i).ToManaged());
 }