Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libobjc/objc/encoding.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* Encoding of types for Objective C.
    2    Copyright (C) 1993, 1997 Free Software Foundation, Inc.
     2   Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
    33
    44Author: Kresten Krab Thorup
     
    5151#define _F_GCINVISIBLE  0x20
    5252
    53 int objc_aligned_size (const char* type);
    54 int objc_sizeof_type (const char* type);
    55 int objc_alignof_type (const char* type);
    56 int objc_aligned_size (const char* type);
    57 int objc_promoted_size (const char* type);
     53int objc_aligned_size (const char *type);
     54int objc_sizeof_type (const char *type);
     55int objc_alignof_type (const char *type);
     56int objc_aligned_size (const char *type);
     57int objc_promoted_size (const char *type);
    5858
    59 const char* objc_skip_type_qualifiers (const char* type);
    60 const char* objc_skip_typespec (const char* type);
    61 const char* objc_skip_offset (const char* type);
    62 const char* objc_skip_argspec (const char* type);
    63 int method_get_number_of_arguments (struct objc_method*);
    64 int method_get_sizeof_arguments (struct objc_method*);
     59const char *objc_skip_type_qualifiers (const char *type);
     60const char *objc_skip_typespec (const char *type);
     61const char *objc_skip_offset (const char *type);
     62const char *objc_skip_argspec (const char *type);
     63int method_get_number_of_arguments (struct objc_method *);
     64int method_get_sizeof_arguments (struct objc_method *);
    6565
    66 char* method_get_first_argument (struct objc_method*,
     66char *method_get_first_argument (struct objc_method *,
    6767                                 arglist_t argframe,
    68                                  const char** type);
    69 char* method_get_next_argument (arglist_t argframe,
     68                                 const char **type);
     69char *method_get_next_argument (arglist_t argframe,
    7070                                const char **type);
    71 char* method_get_nth_argument (struct objc_method* m,
     71char *method_get_nth_argument (struct objc_method *m,
    7272                               arglist_t argframe,
    7373                               int arg,
    7474                               const char **type);
    7575
    76 unsigned objc_get_type_qualifiers (const char* type);
     76unsigned objc_get_type_qualifiers (const char *type);
    7777
    7878
  • branches/GNU/src/gcc/libobjc/objc/hash.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    6161 * hash_new will have to be casted to this type.
    6262 */
    63 typedef unsigned int (*hash_func_type)(void *, const void *);
     63typedef unsigned int (*hash_func_type) (void *, const void *);
    6464
    6565/*
     
    7070 */
    7171
    72 typedef int (*compare_func_type)(const void *, const void *);
     72typedef int (*compare_func_type) (const void *, const void *);
    7373
    7474
     
    175175       
    176176       
    177   while (*(char*)key) {
    178     ret ^= *(char*)key++ << ctr;
     177  while (*(char *) key) {
     178    ret ^= *(char *) key++ << ctr;
    179179    ctr = (ctr + 1) % sizeof (void *);
    180180  }
     
    188188compare_ptrs (const void *k1, const void *k2)
    189189{
    190   return !(k1 - k2);
     190  return ! (k1 - k2);
    191191}
    192192
     
    201201    return 0;
    202202  else
    203     return !strcmp (k1, k2);
     203    return ! strcmp (k1, k2);
    204204}
    205205
  • branches/GNU/src/gcc/libobjc/objc/objc.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    7474/*
    7575** Definition of method type.  When retrieving the implementation of a
    76 ** method, this is type of the pointer returned
     76** method, this is type of the pointer returned.  The idea of the
     77** definition of IMP is to represent a 'pointer to a general function
     78** taking an id, a SEL, followed by other unspecified arguments'.  You
     79** must always cast an IMP to a pointer to a function taking the
     80** appropriate, specific types for that function, before calling it -
     81** to make sure the appropriate arguments are passed to it.  The code
     82** generated by the compiler to perform method calls automatically
     83** does this cast inside method calls.
    7784*/
    7885typedef id (*IMP)(id, SEL, ...);
  • branches/GNU/src/gcc/libobjc/objc/runtime.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* GNU Objective C Runtime internal declarations
    2    Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
     2   Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
    33   Contributed by Kresten Krab Thorup
    44
     
    6666
    6767/* Number of selectors stored in each of the selector  tables */
    68 extern int __objc_selector_max_index;
     68extern unsigned int __objc_selector_max_index;
    6969
    7070/* Mutex locking __objc_selector_max_index and its arrays. */
     
    8383SEL  __sel_register_typed_name (const char*, const char*,
    8484                                struct objc_selector*, BOOL is_const);
     85extern void __objc_generate_gc_type_description (Class);
    8586
    8687#endif /* not __objc_runtime_INCLUDE_GNU */
  • branches/GNU/src/gcc/libobjc/objc/thr.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* Thread and mutex controls for Objective C.
    2    Copyright (C) 1996, 1997 Free Software Foundation, Inc.
     2   Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
    33   Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
    44
     
    7575
    7676/* Frontend mutex functions */
    77 objc_mutex_t objc_mutex_allocate(void);
    78 int objc_mutex_deallocate(objc_mutex_t mutex);
    79 int objc_mutex_lock(objc_mutex_t mutex);
    80 int objc_mutex_unlock(objc_mutex_t mutex);
    81 int objc_mutex_trylock(objc_mutex_t mutex);
     77objc_mutex_t objc_mutex_allocate (void);
     78int objc_mutex_deallocate (objc_mutex_t mutex);
     79int objc_mutex_lock (objc_mutex_t mutex);
     80int objc_mutex_unlock (objc_mutex_t mutex);
     81int objc_mutex_trylock (objc_mutex_t mutex);
    8282
    8383/* Frontend condition mutex functions */
    84 objc_condition_t objc_condition_allocate(void);
    85 int objc_condition_deallocate(objc_condition_t condition);
    86 int objc_condition_wait(objc_condition_t condition, objc_mutex_t mutex);
    87 int objc_condition_signal(objc_condition_t condition);
    88 int objc_condition_broadcast(objc_condition_t condition);
     84objc_condition_t objc_condition_allocate (void);
     85int objc_condition_deallocate (objc_condition_t condition);
     86int objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex);
     87int objc_condition_signal (objc_condition_t condition);
     88int objc_condition_broadcast (objc_condition_t condition);
    8989
    9090/* Frontend thread functions */
    91 objc_thread_t objc_thread_detach(SEL selector, id object, id argument);
    92 void objc_thread_yield(void);
    93 int objc_thread_exit(void);
    94 int objc_thread_set_priority(int priority);
    95 int objc_thread_get_priority(void);
    96 void * objc_thread_get_data(void);
    97 int objc_thread_set_data(void *value);
    98 objc_thread_t objc_thread_id(void);
    99 void objc_thread_add(void);
    100 void objc_thread_remove(void);
     91objc_thread_t objc_thread_detach (SEL selector, id object, id argument);
     92void objc_thread_yield (void);
     93int objc_thread_exit (void);
     94int objc_thread_set_priority (int priority);
     95int objc_thread_get_priority (void);
     96void * objc_thread_get_data (void);
     97int objc_thread_set_data (void *value);
     98objc_thread_t objc_thread_id (void);
     99void objc_thread_add (void);
     100void objc_thread_remove (void);
    101101
    102102/*
     
    112112  so it can implement the NSBecomingMultiThreaded notification.
    113113  */
    114 typedef void (*objc_thread_callback)();
    115 objc_thread_callback objc_set_thread_callback(objc_thread_callback func);
     114typedef void (*objc_thread_callback) (void);
     115objc_thread_callback objc_set_thread_callback (objc_thread_callback func);
    116116
    117117/* Backend initialization functions */
    118 int __objc_init_thread_system(void);
    119 int __objc_fini_thread_system(void);
     118int __objc_init_thread_system (void);
     119int __objc_fini_thread_system (void);
    120120
    121121/* Backend mutex functions */
    122 int __objc_mutex_allocate(objc_mutex_t mutex);
    123 int __objc_mutex_deallocate(objc_mutex_t mutex);
    124 int __objc_mutex_lock(objc_mutex_t mutex);
    125 int __objc_mutex_trylock(objc_mutex_t mutex);
    126 int __objc_mutex_unlock(objc_mutex_t mutex);
     122int __objc_mutex_allocate (objc_mutex_t mutex);
     123int __objc_mutex_deallocate (objc_mutex_t mutex);
     124int __objc_mutex_lock (objc_mutex_t mutex);
     125int __objc_mutex_trylock (objc_mutex_t mutex);
     126int __objc_mutex_unlock (objc_mutex_t mutex);
    127127
    128128/* Backend condition mutex functions */
    129 int __objc_condition_allocate(objc_condition_t condition);
    130 int __objc_condition_deallocate(objc_condition_t condition);
    131 int __objc_condition_wait(objc_condition_t condition, objc_mutex_t mutex);
    132 int __objc_condition_broadcast(objc_condition_t condition);
    133 int __objc_condition_signal(objc_condition_t condition);
     129int __objc_condition_allocate (objc_condition_t condition);
     130int __objc_condition_deallocate (objc_condition_t condition);
     131int __objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex);
     132int __objc_condition_broadcast (objc_condition_t condition);
     133int __objc_condition_signal (objc_condition_t condition);
    134134
    135135/* Backend thread functions */
    136 objc_thread_t __objc_thread_detach(void (*func)(void *arg), void *arg);
    137 int __objc_thread_set_priority(int priority);
    138 int __objc_thread_get_priority(void);
    139 void __objc_thread_yield(void);
    140 int __objc_thread_exit(void);
    141 objc_thread_t __objc_thread_id(void);
    142 int __objc_thread_set_data(void *value);
    143 void * __objc_thread_get_data(void);
     136objc_thread_t __objc_thread_detach (void (*func) (void *arg), void *arg);
     137int __objc_thread_set_priority (int priority);
     138int __objc_thread_get_priority (void);
     139void __objc_thread_yield (void);
     140int __objc_thread_exit (void);
     141objc_thread_t __objc_thread_id (void);
     142int __objc_thread_set_data (void *value);
     143void * __objc_thread_get_data (void);
    144144
    145145#endif /* not __thread_INCLUDE_GNU */
Note: See TracChangeset for help on using the changeset viewer.