(param.direction == ParameterDirection.IN && type_as_struct != null && !type_as_struct.is_simple_type () && !result.value_type.nullable)) {
result.cvalue = new CCodeUnaryExpression (CCodeUnaryOperator.POINTER_INDIRECTION, new CCodeIdentifier (get_variable_cname (name)));
} else {
- // Property setters of non simple structs shall replace all occurences
+ // Property setters of non simple structs shall replace all occurrences
// of the "value" formal parameter with a dereferencing version of that
// parameter.
if (current_property_accessor != null &&
foreach (Parameter param in m.get_parameters ()) {
if (param.direction != ParameterDirection.OUT) {
if ((direction & 1) == 0) {
- // no in paramters
+ // no in parameters
continue;
}
} else {
if ((direction & 2) == 0) {
- // no out paramters
+ // no out parameters
continue;
}
}
.SH OPTIONS
.TP
-This command currenly takes no command line options.
+This command currently takes no command line options.
.SH SEE ALSO
.BR vapigen (1)
public abstract bool add (G item);
/**
- * Removes the first occurence of an item from this collection. Must not
+ * Removes the first occurrence of an item from this collection. Must not
* be called on read-only collections.
*
* @param item the item to remove from the collection
public abstract void set (int index, G item);
/**
- * Returns the index of the first occurence of the specified item in
+ * Returns the index of the first occurrence of the specified item in
* this list.
*
- * @return the index of the first occurence of the specified item, or
+ * @return the index of the first occurrence of the specified item, or
* -1 if the item could not be found
*/
public abstract int index_of (G item);
modules = g_idl_parse_file (filename, &error);
if (error)
{
- g_printerr ("An error occured while parsing %s: %s\n",
+ g_printerr ("An error occurred while parsing %s: %s\n",
filename, error->message);
return;
}
*/
public bool add_external_package (string pkg) {
if (has_package (pkg)) {
- // ignore multiple occurences of the same package
+ // ignore multiple occurrences of the same package
return true;
}
*/
public class Vala.ElementAccess : Expression {
/**
- * Expression representing the container on wich we want to access.
+ * Expression representing the container on which we want to access.
*/
public Expression container {
get {
if (ModifierFlags.PRIVATE in flags) {
cl.access = SymbolAccessibility.PRIVATE;
} else {
- /* class must always be Public unless its name starts wtih underscore */
+ /* class must always be Public unless its name starts with underscore */
if (sym.name[0] == '_') {
cl.access = SymbolAccessibility.PRIVATE;
} else {
scan_string
.out out=false
-// Backwards compatability
+// Backwards compatibility
AttrClass
.copy type="GLib.Callback" skip=false
.destroy type="GLib.Callback" skip=false