Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -1,12 +1,12 @@
|
|||
#include<stdio.h>
|
||||
|
||||
typedef (void *callbackfunc)(const char *);
|
||||
typedef void (*callbackfunc)(const char *);
|
||||
|
||||
void doprint(const char *s) {
|
||||
printf("%s.", s);
|
||||
}
|
||||
|
||||
void tokenize(char *s, char delim, callbackfunc *cb) {
|
||||
void tokenize(char *s, char delim, callbackfunc cb) {
|
||||
char *olds = s;
|
||||
char olddelim = delim;
|
||||
while(olddelim && *s) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue