Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
piumarta
/
ccmeta
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
full example for object
develop-theo
Theo Souchon
2 anni fa
parent
1a6c7636b7
commit
fa73f35010
1 ha cambiato i file
con
9 aggiunte
e
9 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+9
-9
tests-parsimony/objectExample.c
+ 9
- 9
tests-parsimony/objectExample.c
Vedi File
@ -3,26 +3,26 @@
typedef
long
long
int_t
;
typedef
long
double
flt_t
;
@
object
(
)
@
object
(
"
OBJECT
"
)
struct
Integer
{
int_t
i
;
}
;
@
addObject
(
)
/
/
struct
Float
{
/
/
flt_t
_value
;
/
/
}
;
/
/
@
addObject
(
)
struct
Float
{
flt_t
_value
;
}
;
@
addObject
(
)
struct
String
{
char
*
value
;
}
;
@
addObject
(
)
/
/
struct
Symbol
{
/
/
char
*
name
;
/
/
}
;
/
/
@
addObject
(
)
struct
Symbol
{
char
*
name
;
}
;
@
addObject
(
)
@
endObject
(
)
Scrivi
Anteprima
Caricamento…
Annulla
Salva