projects
/
vg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
holyc compile
[vg.git]
/
src
/
vg
/
vg.h
diff --git
a/src/vg/vg.h
b/src/vg/vg.h
index de119709bd34df35483d224190dcc7ee771996a0..aee5808db1a0d208dea695cb1a4d6fdb0f57b6bf 100644
(file)
--- a/
src/vg/vg.h
+++ b/
src/vg/vg.h
@@
-150,6
+150,14
@@
static VG_THREAD_LOCAL struct vg_thread_info vg_thread_info;
#endif
VG_STATIC void vg_fatal_exit_loop( const char *error );
+VG_STATIC void vg_required( void *ptr, const char *path )
+{
+ if( !ptr )
+ {
+ vg_fatal_exit_loop( path );
+ }
+}
+
VG_STATIC void vg_ensure_engine_running(void)
{