Changeset 52c31f in git
- Timestamp:
- Nov 9, 2010, 12:59:33 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 3fcc6f74e75547ea1e4e5f7b402159aa86e84590
- Parents:
- c48726524b56e7c3adf69f25d82e664ace8c9211
- Location:
- factory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_util.cc
rc48726 r52c31f 49 49 50 50 #include<stdio.h> 51 #include<stdlib.h> 51 52 52 void (*factoryError_callback)(const char *s) = 0; 53 void factoryError_intern(const char *s) 54 { 55 fprintf(stderr,s); 56 abort(); 57 } 58 void (*factoryError_callback)(const char *s) = factoryError_intern; 53 59 54 void factoryError(const char *s)55 {56 if (factoryError_callback!=0) factoryError_callback(s);57 else fprintf(stderr,s);58 }59 60 -
factory/cf_util.h
rc48726 r52c31f 17 17 18 18 /*BEGINPUBLIC*/ 19 extern void (*factoryError_callback)(const char *s);20 void factoryError(const char *s);19 void factoryError_intern(const char *s); 20 extern void (*factoryError)(const char *s); 21 21 /*ENDPUBLIC*/ 22 22
Note: See TracChangeset
for help on using the changeset viewer.