Permalink
Browse files

[pmc] modify parenthesis in C files as per PDD07

git-svn-id: https://svn.parrot.org/parrot/trunk@16275 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 003c42f commit 3afde5449073e9aef3e7d541e76290c345dbcf47 @particle particle committed Dec 28, 2006
Showing with 1,053 additions and 1,053 deletions.
  1. +10 −10 src/pmc/addrregistry.pmc
  2. +66 −66 src/pmc/array.pmc
  3. +22 −22 src/pmc/bigint.pmc
  4. +12 −12 src/pmc/boolean.pmc
  5. +1 −1 src/pmc/bound_nci.pmc
  6. +3 −3 src/pmc/capture.pmc
  7. +5 −5 src/pmc/closure.pmc
  8. +1 −1 src/pmc/compiler.pmc
  9. +125 −125 src/pmc/complex.pmc
  10. +9 −9 src/pmc/continuation.pmc
  11. +9 −9 src/pmc/coroutine.pmc
  12. +5 −5 src/pmc/csub.pmc
  13. +38 −38 src/pmc/default.pmc
  14. +2 −2 src/pmc/deleg_pmc.pmc
  15. +2 −2 src/pmc/delegate.pmc
  16. +1 −1 src/pmc/enumerate.pmc
  17. +8 −8 src/pmc/env.pmc
  18. +2 −2 src/pmc/eval.pmc
  19. +5 −5 src/pmc/exception.pmc
  20. +3 −3 src/pmc/exception_handler.pmc
  21. +1 −1 src/pmc/file.pmc
  22. +21 −21 src/pmc/fixedbooleanarray.pmc
  23. +22 −22 src/pmc/fixedfloatarray.pmc
  24. +23 −23 src/pmc/fixedintegerarray.pmc
  25. +38 −38 src/pmc/fixedpmcarray.pmc
  26. +25 −25 src/pmc/fixedstringarray.pmc
  27. +12 −12 src/pmc/float.pmc
  28. +40 −40 src/pmc/hash.pmc
  29. +56 −56 src/pmc/integer.pmc
  30. +14 −14 src/pmc/intlist.pmc
  31. +33 −33 src/pmc/iterator.pmc
  32. +13 −13 src/pmc/key.pmc
  33. +2 −2 src/pmc/lexinfo.pmc
  34. +4 −4 src/pmc/managedstruct.pmc
  35. +11 −11 src/pmc/multiarray.pmc
  36. +4 −4 src/pmc/multisub.pmc
  37. +2 −2 src/pmc/namespace.pmc
  38. +8 −8 src/pmc/nci.pmc
  39. +1 −1 src/pmc/null.pmc
  40. +12 −12 src/pmc/orderedhash.pmc
  41. +9 −9 src/pmc/pair.pmc
  42. +2 −2 src/pmc/parrotclass.pmc
  43. +7 −7 src/pmc/parrotinterpreter.pmc
  44. +9 −9 src/pmc/parrotio.pmc
  45. +16 −16 src/pmc/parrotobject.pmc
  46. +1 −1 src/pmc/parrotrunningthread.pmc
  47. +2 −2 src/pmc/parrotthread.pmc
  48. +9 −9 src/pmc/pointer.pmc
  49. +3 −3 src/pmc/ref.pmc
  50. +10 −10 src/pmc/resizablebooleanarray.pmc
  51. +10 −10 src/pmc/resizablefloatarray.pmc
  52. +12 −12 src/pmc/resizableintegerarray.pmc
  53. +25 −25 src/pmc/resizablepmcarray.pmc
  54. +21 −21 src/pmc/resizablestringarray.pmc
  55. +3 −3 src/pmc/retcontinuation.pmc
  56. +26 −26 src/pmc/sarray.pmc
  57. +96 −96 src/pmc/scalar.pmc
  58. +4 −4 src/pmc/sharedref.pmc
  59. +7 −7 src/pmc/slice.pmc
  60. +3 −3 src/pmc/stmlog.pmc
  61. +7 −7 src/pmc/stmref.pmc
  62. +4 −4 src/pmc/stmvar.pmc
  63. +47 −47 src/pmc/string.pmc
  64. +15 −15 src/pmc/sub.pmc
  65. +7 −7 src/pmc/timer.pmc
  66. +7 −7 src/pmc/tqueue.pmc
  67. +2 −2 src/pmc/undef.pmc
  68. +16 −16 src/pmc/unmanagedstruct.pmc
  69. +2 −2 src/pmc/vtablecache.pmc
@@ -64,14 +64,14 @@ Free hash structure.
*/
- void init () {
+ void init() {
PMC_struct_val(SELF) = NULL;
PObj_custom_mark_destroy_SETALL(SELF);
parrot_new_pmc_hash_x(INTERP, SELF, enum_type_int, Hash_key_type_PMC,
int_compare, key_hash_int);
}
- void destroy () {
+ void destroy() {
if (PMC_struct_val(SELF)) {
parrot_hash_destroy(INTERP, (Hash*) PMC_struct_val(SELF));
PMC_struct_val(SELF) = NULL;
@@ -88,7 +88,7 @@ Marks the hash as live.
*/
- void mark () {
+ void mark() {
if (PMC_struct_val(SELF))
parrot_mark_hash(INTERP, PMC_struct_val(SELF));
}
@@ -112,7 +112,7 @@ Returns true if the hash size is not zero.
*/
- INTVAL get_integer_keyed (PMC* key) {
+ INTVAL get_integer_keyed(PMC* key) {
Hash *hash = PMC_struct_val(SELF);
HashBucket *b;
@@ -122,11 +122,11 @@ Returns true if the hash size is not zero.
return (INTVAL) b->value;
}
- INTVAL elements () {
+ INTVAL elements() {
return parrot_hash_size(INTERP, PMC_struct_val(SELF));
}
- INTVAL get_bool () {
+ INTVAL get_bool() {
return parrot_hash_size(INTERP, PMC_struct_val(SELF)) != 0;
}
/*
@@ -150,7 +150,7 @@ reaches 0, delete the entry.
*/
- void set_pmc_keyed (PMC* key, PMC* value) {
+ void set_pmc_keyed(PMC* key, PMC* value) {
Hash * hash = (Hash *)PMC_struct_val(SELF);
HashBucket *b;
b = parrot_hash_get_bucket(INTERP, hash, key);
@@ -160,7 +160,7 @@ reaches 0, delete the entry.
parrot_hash_put(INTERP, hash, key, (void *) 1);
}
- void set_integer_keyed (PMC* key, INTVAL value) {
+ void set_integer_keyed(PMC* key, INTVAL value) {
Hash * hash = (Hash *)PMC_struct_val(SELF);
parrot_hash_put(INTERP, hash, key, (void *) value);
}
@@ -191,11 +191,11 @@ If called from iteration, return the key PMC, else PMCNULL is returned.
*/
- PMC* get_iter () {
+ PMC* get_iter() {
return Parrot_Hash_get_iter(INTERP, SELF);
}
- PMC* get_pmc_keyed (PMC* key) {
+ PMC* get_pmc_keyed(PMC* key) {
Hash *hash = PMC_struct_val(SELF);
if ((PObj_get_FLAGS(key) & KEY_type_FLAGS) ==
Oops, something went wrong.

0 comments on commit 3afde54

Please sign in to comment.