All pastes #963943 Raw Edit

Vermischtes

public c v1 · immutable
#963943 ·published 2008-03-30 22:30 UTC
rendered paste body
#include <stdio.h>/* for printf */#include <apr_errno.h>/* for type apr_status_t */#include <apr_pools.h>/* for func apr_pool_create */#include <apr_hash.h>/* for type apr_hash_t, func apr_hash_make */void foobar() {   apr_status_t mystatus; /* is really an int */   apr_pool_t *mypool; /* is really a struct */   mystatus = apr_pool_create(&mypool, NULL); /* NULL = no parent pool */   printf("apr_pool_create returned [%d]\n", mystatus);   /* printf("mypool = [%???]\n", mypool); */   apr_hash_t *myhash; /* is really a struct */   myhash = apr_hash_make(mypool);}int main(char argc, char **args) {   foobar();   return 0;}